pub struct Section<T>where
T: PartialEq + TryFromSlice,{
pub header: SectionHeader,
pub payload: T,
}Fields§
§header: SectionHeader§payload: TTrait Implementations§
Source§impl<T, __DumpContext: ?Sized> Dump<__DumpContext> for Section<T>where
T: PartialEq + TryFromSlice + DumpField<__DumpContext>,
SectionHeader: DumpField<__DumpContext>,
impl<T, __DumpContext: ?Sized> Dump<__DumpContext> for Section<T>where
T: PartialEq + TryFromSlice + DumpField<__DumpContext>,
SectionHeader: DumpField<__DumpContext>,
impl<T> Dumpable for Section<T>where
T: PartialEq + TryFromSlice,
impl<T> StructuralPartialEq for Section<T>
Source§impl<T> TryFromSlice for Section<T>where
T: PartialEq + TryFromSlice,
impl<T> TryFromSlice for Section<T>where
T: PartialEq + TryFromSlice,
Auto Trait Implementations§
impl<T> Forget for Section<T>
impl<T> Freeze for Section<T>where
T: Freeze,
impl<T> Move for Section<T>
impl<T> RefUnwindSafe for Section<T>where
T: RefUnwindSafe,
impl<T> Send for Section<T>where
T: Send,
impl<T> Sync for Section<T>where
T: Sync,
impl<T> Unpin for Section<T>where
T: Unpin,
impl<T> UnsafeUnpin for Section<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Section<T>where
T: 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