pub struct TypeDefinitionLine {
pub line_type: TypeDefinitionLineType,
pub tokens: Vec<InstructionTextToken>,
pub ty: Ref<Type>,
pub parent_type: Option<Ref<Type>>,
pub root_type: Option<Ref<Type>>,
pub root_type_name: Option<String>,
pub base_type: Option<Ref<NamedTypeReference>>,
pub base_offset: u64,
pub offset: u64,
pub field_index: usize,
}
Fields§
§line_type: TypeDefinitionLineType
§tokens: Vec<InstructionTextToken>
§ty: Ref<Type>
§parent_type: Option<Ref<Type>>
§root_type: Option<Ref<Type>>
§root_type_name: Option<String>
§base_type: Option<Ref<NamedTypeReference>>
§base_offset: u64
§offset: u64
§field_index: usize
Trait Implementations§
source§impl Clone for TypeDefinitionLine
impl Clone for TypeDefinitionLine
source§fn clone(&self) -> TypeDefinitionLine
fn clone(&self) -> TypeDefinitionLine
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 moreAuto Trait Implementations§
impl Freeze for TypeDefinitionLine
impl RefUnwindSafe for TypeDefinitionLine
impl !Send for TypeDefinitionLine
impl !Sync for TypeDefinitionLine
impl Unpin for TypeDefinitionLine
impl UnwindSafe for TypeDefinitionLine
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