Struct assembly_fdb::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§
source§impl 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§
source§impl Clone for FDBTableDefHeader
impl Clone for FDBTableDefHeader
source§fn clone(&self) -> FDBTableDefHeader
fn clone(&self) -> FDBTableDefHeader
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 FDBTableDefHeader
impl Debug for FDBTableDefHeader
source§impl PartialEq for FDBTableDefHeader
impl PartialEq for FDBTableDefHeader
source§impl WriteLE for FDBTableDefHeader
impl WriteLE for FDBTableDefHeader
impl Copy for FDBTableDefHeader
impl Eq for FDBTableDefHeader
impl Pod for FDBTableDefHeader
impl StructuralPartialEq for FDBTableDefHeader
Auto Trait Implementations§
impl Freeze for FDBTableDefHeader
impl RefUnwindSafe for FDBTableDefHeader
impl Send for FDBTableDefHeader
impl Sync for FDBTableDefHeader
impl Unpin for FDBTableDefHeader
impl UnwindSafe for FDBTableDefHeader
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
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)