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: usizeTrait Implementations§
Source§impl Clone for TypeDefinitionLine
impl Clone for TypeDefinitionLine
Source§fn clone(&self) -> TypeDefinitionLine
fn clone(&self) -> TypeDefinitionLine
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more