Page 22, found in 77 ms

  1. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › array › iter.rs
    More about rust.docs.kernel.org
    iter.rs - source

    … partial results from unsafe code. 93 /// 94 /// # Safety 95 /// 96 /// - The `buffer[initialized]` elements must all be initialized. 97 /// - The range must be canonical, with `initialized.start <= initialized.end`. 98 /// - The range must be …

    0 points
  2. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › core › result.rs
    More about rust.docs.kernel.org
    result.rs - source

    … just a synonym for <code>[Result]<T, [io::Error]></code>.* 96 //! 97 //! This method doesn't produce a value, but the write may 98 //! fail. It's crucial to handle the error case, and …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › phy › reg.rs
    More about rust.docs.kernel.org
    reg.rs - source

    … an FFI call, open code of `phy_read()` with a valid `phy_device` pointer 111 // `phydev`. 112 let ret = unsafe { 113 bindings::mdiobus_read(( * phydev ).mdio.bus, ( * phydev ).mdio.addr, self . 0 . into ()) 114 …

    0 points
  4. rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › pci › struct.Device
    More about rust.docs.kernel.org
    Device in kernel::pci - Rust

    … pci_dev within Rust code that we get passed from the C side. § Invariants A Device instance represents a valid struct pci_dev created by the C portion of the kernel. Implementations …

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › platform › struct.Device
    More about rust.docs.kernel.org
    Device in kernel::platform - Rust

    … platform_device within Rust code that we get passed from the C side. § Invariants A Device instance represents a valid struct platform_device created by the C portion of the kernel. Implementations …

    0 points
  6. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › clone › trait.Clone
    More about rust.docs.kernel.org
    Clone in core::clone - Rust

    … Implementors § 1.100.0 (const: unstable ) · Source § impl Clone for ! Source § impl Clone for Abi 1.0.0 · Source § impl Clone for AddrParseError Source § impl Clone for core::mem:: Alignment 1.28.0 · Source § impl Clone for core …

    0 points
  7. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › cell › struct.Cell
    More about rust.docs.kernel.org
    Cell in core::cell - Rust

    … more 1.0.0 (const: unstable ) · Source § fn clone_from (&mut self, source: &Self) where Self:, Performs copy-assignment from source . Read more Source § impl<T: CoerceUnsized <U>, U> CoerceUnsized < Cell <U>> for Cell …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › ascii › ascii_char.rs
    More about rust.docs.kernel.org
    ascii_char.rs - source

    … and Basic Latin*][chart] code chart. 14 /// 15 /// This block was based on older 7-bit character code standards such as 16 /// ANSI X3.4-1977, ISO 646-1973, and [NIST FIPS 1 …

    0 points
  9. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › ptr › fn.fn_addr_eq
    More about rust.docs.kernel.org
    fn_addr_eq in core::ptr - Rust

    Skip to main content fn_addr_eq core :: ptr Function fn_ addr_ eq 1.85.0 · Source pub fn fn_addr_eq<T: FnPtr , U: FnPtr >(f: T, g: U) -> bool Expand description Compares …

    0 points
  10. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › hint › fn.select_unpredictable
    More about rust.docs.kernel.org
    select_unpredictable in core::hint - Rust

    Skip to main content select_unpredictable core :: hint Function select_ unpredictable 1.88.0 (const: unstable ) · Source pub fn select_unpredictable<T>(condition: bool , true_val: T, false_val: T) -> T where T:, Expand …

    0 points

Search for “source code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.