pub struct System { /* private fields */ }Implementations§
Source§impl System
impl System
pub fn fdt(&self) -> &Fdt
pub fn phandle_to_device_id(&self, phandle: Phandle) -> Option<DeviceId>
pub fn get_by_phandle(&self, phandle: Phandle) -> Option<NodeType<'_>>
pub fn find_compatible(&self, compatible: &[&str]) -> Vec<NodeType<'_>>
pub fn new(fdt_addr: NonNull<u8>) -> Result<System, DriverError>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for System
impl !RefUnwindSafe for System
impl Sync for System
impl Unpin for System
impl UnsafeUnpin for System
impl UnwindSafe for System
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more