Struct BtStaticConstant
pub struct BtStaticConstant {
pub name: String,
pub data_type: BtType,
pub index: ConstantIndex,
}Expand description
The IR for a global read-only constant value.
Fields§
§name: String§data_type: BtType§index: ConstantIndexTrait Implementations§
§impl Clone for BtStaticConstant
impl Clone for BtStaticConstant
§fn clone(&self) -> BtStaticConstant
fn clone(&self) -> BtStaticConstant
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 BtStaticConstant
impl RefUnwindSafe for BtStaticConstant
impl Send for BtStaticConstant
impl Sync for BtStaticConstant
impl Unpin for BtStaticConstant
impl UnwindSafe for BtStaticConstant
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