Page 22, found in 77 ms
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › array › iter.rsiter.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › core › result.rsresult.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › phy › reg.rsreg.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › pci › struct.DeviceDevice in kernel::pci - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › platform › struct.DeviceDevice in kernel::platform - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › clone › trait.CloneClone in core::clone - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › cell › struct.CellCell in core::cell - Rust
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › ascii › ascii_char.rsascii_char.rs - source
More about rust.docs.kernel.org
… 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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › ptr › fn.fn_addr_eqfn_addr_eq in core::ptr - Rust
More about rust.docs.kernel.org
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 …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › hint › fn.select_unpredictableselect_unpredictable in core::hint - Rust
More about rust.docs.kernel.org
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 …
Search for “source code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.