#[repr(C, packed(1))]pub struct FTStringRange {
pub offset: BigEndian<u16>,
pub length: BigEndian<u16>,
}
Expand description
Offset and length of string in ltag
table.
Fields§
§offset: BigEndian<u16>
Offset from the start of the table to the beginning of the string.
length: BigEndian<u16>
String length (in bytes).
Implementations§
Trait Implementations§
Source§impl Clone for FTStringRange
impl Clone for FTStringRange
Source§fn clone(&self) -> FTStringRange
fn clone(&self) -> FTStringRange
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FTStringRange
impl Debug for FTStringRange
Source§impl FixedSize for FTStringRange
impl FixedSize for FTStringRange
Source§const RAW_BYTE_LEN: usize = 4usize
const RAW_BYTE_LEN: usize = 4usize
The raw size of this type, in bytes. Read more
Source§impl Hash for FTStringRange
impl Hash for FTStringRange
Source§impl Ord for FTStringRange
impl Ord for FTStringRange
Source§fn cmp(&self, other: &FTStringRange) -> Ordering
fn cmp(&self, other: &FTStringRange) -> Ordering
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 PartialEq for FTStringRange
impl PartialEq for FTStringRange
Source§impl PartialOrd for FTStringRange
impl PartialOrd for FTStringRange
impl AnyBitPattern for FTStringRange
impl Copy for FTStringRange
impl Eq for FTStringRange
impl StructuralPartialEq for FTStringRange
Auto Trait Implementations§
impl Freeze for FTStringRange
impl RefUnwindSafe for FTStringRange
impl Send for FTStringRange
impl Sync for FTStringRange
impl Unpin for FTStringRange
impl UnwindSafe for FTStringRange
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.