pub struct AnchorSlice {
pub off: u32,
pub len: u32,
}Expand description
A run of anchor records in the resource metadata table.
Fields§
§off: u32Start index into the owning blob.
len: u32Element or field count.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for AnchorSlice
impl<'__de, __Context> BorrowDecode<'__de, __Context> for AnchorSlice
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for AnchorSlice
impl Clone for AnchorSlice
impl Copy for AnchorSlice
Source§impl Debug for AnchorSlice
impl Debug for AnchorSlice
Source§impl<__Context> Decode<__Context> for AnchorSlice
impl<__Context> Decode<__Context> for AnchorSlice
Source§impl Default for AnchorSlice
impl Default for AnchorSlice
Source§impl Encode for AnchorSlice
impl Encode for AnchorSlice
impl Eq for AnchorSlice
Source§impl Hash for AnchorSlice
impl Hash for AnchorSlice
Source§impl Ord for AnchorSlice
impl Ord for AnchorSlice
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AnchorSlice
impl PartialEq for AnchorSlice
Source§impl PartialOrd for AnchorSlice
impl PartialOrd for AnchorSlice
impl StructuralPartialEq for AnchorSlice
Auto Trait Implementations§
impl Freeze for AnchorSlice
impl RefUnwindSafe for AnchorSlice
impl Send for AnchorSlice
impl Sync for AnchorSlice
impl Unpin for AnchorSlice
impl UnsafeUnpin for AnchorSlice
impl UnwindSafe for AnchorSlice
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