pub struct StaticVariable {
pub name: Identifier,
pub global: bool,
pub init: StaticInit,
pub var_type: Type,
}Fields§
§name: Identifier§global: bool§init: StaticInit§var_type: TypeTrait Implementations§
Source§impl Clone for StaticVariable
impl Clone for StaticVariable
Source§fn clone(&self) -> StaticVariable
fn clone(&self) -> StaticVariable
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 moreSource§impl Debug for StaticVariable
impl Debug for StaticVariable
Source§impl From<StaticVariable> for AsmStaticVar
impl From<StaticVariable> for AsmStaticVar
Source§fn from(value: StaticVariable) -> Self
fn from(value: StaticVariable) -> Self
Converts to this type from the input type.
Source§impl From<StaticVariable> for AsmTopLevelItem
impl From<StaticVariable> for AsmTopLevelItem
Source§fn from(value: StaticVariable) -> Self
fn from(value: StaticVariable) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StaticVariable
impl RefUnwindSafe for StaticVariable
impl Send for StaticVariable
impl Sync for StaticVariable
impl Unpin for StaticVariable
impl UnwindSafe for StaticVariable
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