Struct muse_lang::runtime::types::BitcodeStruct
source · pub struct BitcodeStruct {
pub name: Symbol,
pub functions: Map<Symbol, Accessable<BitcodeFunction>>,
pub fields: Map<Symbol, Access>,
}Expand description
An IR Muse-defined struct.
Fields§
§name: SymbolThe name of the struct.
functions: Map<Symbol, Accessable<BitcodeFunction>>The functions defined on the struct.
fields: Map<Symbol, Access>The fields defined on members of this struct.
Trait Implementations§
source§impl Clone for BitcodeStruct
impl Clone for BitcodeStruct
source§fn clone(&self) -> BitcodeStruct
fn clone(&self) -> BitcodeStruct
Returns a copy 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 BitcodeStruct
impl Debug for BitcodeStruct
source§impl<'de> Deserialize<'de> for BitcodeStruct
impl<'de> Deserialize<'de> for BitcodeStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<BitcodeStruct> for ValueOrSource
impl From<BitcodeStruct> for ValueOrSource
source§fn from(value: BitcodeStruct) -> Self
fn from(value: BitcodeStruct) -> Self
Converts to this type from the input type.
source§impl PartialEq for BitcodeStruct
impl PartialEq for BitcodeStruct
source§impl Serialize for BitcodeStruct
impl Serialize for BitcodeStruct
impl StructuralPartialEq for BitcodeStruct
Auto Trait Implementations§
impl Freeze for BitcodeStruct
impl RefUnwindSafe for BitcodeStruct
impl Send for BitcodeStruct
impl Sync for BitcodeStruct
impl Unpin for BitcodeStruct
impl UnwindSafe for BitcodeStruct
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
§impl<A> Cast for A
impl<A> Cast for A
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)