Struct assembly_fdb_core::file::FDBTableDefHeader
source · [−]#[repr(C)]pub struct FDBTableDefHeader {
pub column_count: u32,
pub table_name_addr: u32,
pub column_header_list_addr: u32,
}
Expand description
The header of a table definition
This struct exists once per table and contains links to information on the name of the table and the names and data types of the columns.
Fields
column_count: u32
The number of columns in this table.
table_name_addr: u32
The offset of the (null-terminated) name of this table
column_header_list_addr: u32
The offset of the array of FDBColumnHeader
s
Implementations
sourceimpl FDBTableDefHeader
impl FDBTableDefHeader
sourcepub const fn column_header_list_byte_count(&self) -> usize
pub const fn column_header_list_byte_count(&self) -> usize
Returns the expected byte length of the referenced FDBColumnHeader
array.
Trait Implementations
sourceimpl Clone for FDBTableDefHeader
impl Clone for FDBTableDefHeader
sourcefn clone(&self) -> FDBTableDefHeader
fn clone(&self) -> FDBTableDefHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FDBTableDefHeader
impl Debug for FDBTableDefHeader
sourceimpl From<[u32; 3]> for FDBTableDefHeader
impl From<[u32; 3]> for FDBTableDefHeader
sourceimpl PartialEq<FDBTableDefHeader> for FDBTableDefHeader
impl PartialEq<FDBTableDefHeader> for FDBTableDefHeader
sourcefn eq(&self, other: &FDBTableDefHeader) -> bool
fn eq(&self, other: &FDBTableDefHeader) -> bool
impl Copy for FDBTableDefHeader
impl Eq for FDBTableDefHeader
impl Pod for FDBTableDefHeader
impl StructuralEq for FDBTableDefHeader
impl StructuralPartialEq for FDBTableDefHeader
Auto Trait Implementations
impl RefUnwindSafe for FDBTableDefHeader
impl Send for FDBTableDefHeader
impl Sync for FDBTableDefHeader
impl Unpin for FDBTableDefHeader
impl UnwindSafe for FDBTableDefHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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
. Read more