Struct BtStaticStorageVariable
pub struct BtStaticStorageVariable {
pub name: String,
pub is_global: bool,
pub data_type: BtType,
pub init_value: Vec<BtStaticStorageInitializer>,
}Expand description
The IR for a variable with static storage duration.
Fields§
§name: String§is_global: bool§data_type: BtType§init_value: Vec<BtStaticStorageInitializer>Trait Implementations§
§impl Clone for BtStaticStorageVariable
impl Clone for BtStaticStorageVariable
§fn clone(&self) -> BtStaticStorageVariable
fn clone(&self) -> BtStaticStorageVariable
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 BtStaticStorageVariable
impl RefUnwindSafe for BtStaticStorageVariable
impl Send for BtStaticStorageVariable
impl Sync for BtStaticStorageVariable
impl Unpin for BtStaticStorageVariable
impl UnwindSafe for BtStaticStorageVariable
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