pub struct Registration { /* private fields */ }Expand description
Registration handle for your soc_dev. If you let it go out of scope, your soc_dev will be unregistered.
Implementations§
Source§impl Registration
impl Registration
Source§impl Registration
impl Registration
Sourcepub fn new(attr: Attributes) -> impl PinInit<Self, Error>
pub fn new(attr: Attributes) -> impl PinInit<Self, Error>
Register a new SoC device
Trait Implementations§
Source§impl Drop for Registration
impl Drop for Registration
Source§impl HasPinData for Registration
impl HasPinData for Registration
Source§impl PinnedDrop for Registration
impl PinnedDrop for Registration
impl Send for Registration
impl Sync for Registration
Auto Trait Implementations§
impl !Freeze for Registration
impl !RefUnwindSafe for Registration
impl UnwindSafe for Registration
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
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more