pub struct Element<F> {
pub format: F,
pub offset: ElemOffset,
}
Expand description
A struct element descriptor.
Fields§
§format: F
Element format
offset: ElemOffset
Offset from the beginning of the container, in bytes
Trait Implementations§
Source§impl<F: Ord> Ord for Element<F>
impl<F: Ord> Ord for Element<F>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<F: PartialOrd> PartialOrd for Element<F>
impl<F: PartialOrd> PartialOrd for Element<F>
impl<F: Copy> Copy for Element<F>
impl<F: Eq> Eq for Element<F>
impl<F> StructuralPartialEq for Element<F>
Auto Trait Implementations§
impl<F> Freeze for Element<F>where
F: Freeze,
impl<F> RefUnwindSafe for Element<F>where
F: RefUnwindSafe,
impl<F> Send for Element<F>where
F: Send,
impl<F> Sync for Element<F>where
F: Sync,
impl<F> Unpin for Element<F>where
F: Unpin,
impl<F> UnwindSafe for Element<F>where
F: 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