pub struct VariableMetadata {
pub name: String,
pub offset: u64,
pub size: u64,
pub type_id: u32,
pub persistent: bool,
}Expand description
Metadata about a variable in the file
Fields§
§name: StringVariable name
offset: u64Byte offset in the file
size: u64Variable size in bytes
type_id: u32Type ID
persistent: boolWhether this variable persists across disconnections
Implementations§
Trait Implementations§
Source§impl Clone for VariableMetadata
impl Clone for VariableMetadata
Source§fn clone(&self) -> VariableMetadata
fn clone(&self) -> VariableMetadata
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for VariableMetadata
impl RefUnwindSafe for VariableMetadata
impl Send for VariableMetadata
impl Sync for VariableMetadata
impl Unpin for VariableMetadata
impl UnsafeUnpin for VariableMetadata
impl UnwindSafe for VariableMetadata
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