pub struct VariableInfo {
pub name: String,
pub ty: VariableType,
pub ownership: OwnershipState,
pub lifetime: Option<Lifetime>,
pub is_parameter: bool,
pub is_static: bool,
pub scope_level: usize,
pub has_destructor: bool,
pub declaration_index: usize,
}Fields§
§name: String§ty: VariableType§ownership: OwnershipState§lifetime: Option<Lifetime>§is_parameter: bool§is_static: bool§scope_level: usize§has_destructor: bool§declaration_index: usizeTrait Implementations§
Source§impl Clone for VariableInfo
impl Clone for VariableInfo
Source§fn clone(&self) -> VariableInfo
fn clone(&self) -> VariableInfo
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 VariableInfo
impl RefUnwindSafe for VariableInfo
impl Send for VariableInfo
impl Sync for VariableInfo
impl Unpin for VariableInfo
impl UnwindSafe for VariableInfo
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