Struct assembly_fdb::file::FDBFieldData
source · #[repr(C)]pub struct FDBFieldData {
pub data_type: u32,
pub value: [u8; 4],
}
Expand description
The type and value of a row field.
Fields§
§data_type: u32
The data type.
value: [u8; 4]
The bytes that specify the value.
Trait Implementations§
source§impl Clone for FDBFieldData
impl Clone for FDBFieldData
source§fn clone(&self) -> FDBFieldData
fn clone(&self) -> FDBFieldData
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 FDBFieldData
impl Debug for FDBFieldData
source§impl PartialEq for FDBFieldData
impl PartialEq for FDBFieldData
source§fn eq(&self, other: &FDBFieldData) -> bool
fn eq(&self, other: &FDBFieldData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<FDBFieldData> for Value<FileContext>
impl TryFrom<FDBFieldData> for Value<FileContext>
§type Error = UnknownValueType
type Error = UnknownValueType
The type returned in the event of a conversion error.
source§fn try_from(
value: FDBFieldData
) -> Result<Value<FileContext>, <Value<FileContext> as TryFrom<FDBFieldData>>::Error>
fn try_from( value: FDBFieldData ) -> Result<Value<FileContext>, <Value<FileContext> as TryFrom<FDBFieldData>>::Error>
Performs the conversion.
source§impl WriteLE for FDBFieldData
impl WriteLE for FDBFieldData
impl Copy for FDBFieldData
impl Eq for FDBFieldData
impl Pod for FDBFieldData
impl StructuralPartialEq for FDBFieldData
Auto Trait Implementations§
impl Freeze for FDBFieldData
impl RefUnwindSafe for FDBFieldData
impl Send for FDBFieldData
impl Sync for FDBFieldData
impl Unpin for FDBFieldData
impl UnwindSafe for FDBFieldData
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§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
.§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
.