pub struct ItemType<Container, Data> { /* private fields */ }
Expand description
A representation of the attributes that will appear in a Group
or
Subsystem
.
Users should not directly instantiate objects of this type. Rather, they
should use the kernel::configfs_attrs
macro to statically declare the
shape of a Group
or Subsystem
.
Trait Implementations§
impl<Container, Data> Send for ItemType<Container, Data>
impl<Container, Data> Sync for ItemType<Container, Data>
Auto Trait Implementations§
impl<Container, Data> !Freeze for ItemType<Container, Data>
impl<Container, Data> !RefUnwindSafe for ItemType<Container, Data>
impl<Container, Data> UnwindSafe for ItemType<Container, Data>where
Container: UnwindSafe,
Data: UnwindSafe,
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