pub struct Resources<BUS> {
pub i2c: Owned<BUS>,
/* private fields */
}Fields§
§i2c: Owned<BUS>Trait Implementations§
Source§impl<BUS> ResourceBindings<'_> for Resources<BUS>where
BUS: Dps310Bus,
impl<BUS> ResourceBindings<'_> for Resources<BUS>where
BUS: Dps310Bus,
type Binding = Binding
fn from_bindings( manager: &mut ResourceManager, mapping: Option<&ResourceBindingMap<Self::Binding>>, ) -> CuResult<Self>
Auto Trait Implementations§
impl<BUS> Freeze for Resources<BUS>where
BUS: Freeze,
impl<BUS> RefUnwindSafe for Resources<BUS>where
BUS: RefUnwindSafe,
impl<BUS> Send for Resources<BUS>where
BUS: Send,
impl<BUS> Sync for Resources<BUS>where
BUS: Sync,
impl<BUS> Unpin for Resources<BUS>where
BUS: Unpin,
impl<BUS> UnsafeUnpin for Resources<BUS>where
BUS: UnsafeUnpin,
impl<BUS> UnwindSafe for Resources<BUS>where
BUS: 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