pub struct Variable {
pub name: String,
pub type_name: String,
pub is_reference: bool,
pub is_pointer: bool,
pub is_const: bool,
pub is_unique_ptr: bool,
pub is_shared_ptr: bool,
pub is_static: bool,
pub is_mutable: bool,
pub location: SourceLocation,
pub is_pack: bool,
pub pack_element_type: Option<String>,
}Fields§
§name: String§type_name: String§is_reference: bool§is_pointer: bool§is_const: bool§is_unique_ptr: bool§is_static: bool§is_mutable: bool§location: SourceLocation§is_pack: bool§pack_element_type: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Variable
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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