pub struct SetPeripheralEnabled {
pub peripheral: PeripheralId,
pub enabled: bool,
}Fields§
§peripheral: PeripheralId§enabled: boolTrait Implementations§
Source§impl BlockingScalar for SetPeripheralEnabled
impl BlockingScalar for SetPeripheralEnabled
Source§impl Debug for SetPeripheralEnabled
impl Debug for SetPeripheralEnabled
Source§impl FromScalar<2> for SetPeripheralEnabled
impl FromScalar<2> for SetPeripheralEnabled
fn from_scalar(value: [u32; 2]) -> Self
Auto Trait Implementations§
impl Freeze for SetPeripheralEnabled
impl RefUnwindSafe for SetPeripheralEnabled
impl Send for SetPeripheralEnabled
impl Sync for SetPeripheralEnabled
impl Unpin for SetPeripheralEnabled
impl UnwindSafe for SetPeripheralEnabled
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
fn from_scalar(value: [u32; 3]) -> T
§impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
fn from_scalar(value: [u32; 4]) -> T
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.