#[repr(transparent)]pub struct BootSlot(pub u32);
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BootSlot
impl<'de> Deserialize<'de> for BootSlot
Source§fn deserialize<D>(deserializer: D) -> Result<BootSlot, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<BootSlot, D::Error>where
D: Deserializer<'de>,
Deserializes the value by forwarding to deserialize_any
.
deserialize_any
will forward strings to the string visitor
and forward integers to the appropriate integer visitor.
Source§impl Ord for BootSlot
impl Ord for BootSlot
Source§impl PartialOrd for BootSlot
impl PartialOrd for BootSlot
impl Copy for BootSlot
impl Eq for BootSlot
impl StructuralPartialEq for BootSlot
Auto Trait Implementations§
impl Freeze for BootSlot
impl RefUnwindSafe for BootSlot
impl Send for BootSlot
impl Sync for BootSlot
impl Unpin for BootSlot
impl UnwindSafe for BootSlot
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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