Struct lambda_mountain::ProgramFragment
source · pub struct ProgramFragment {
pub program: String,
}
Fields§
§program: String
Trait Implementations§
source§impl Fragment for ProgramFragment
impl Fragment for ProgramFragment
fn fragment_type(&self) -> FragmentType
fn as_literal(&self) -> impl Fragment + Constant + Literal
fn as_register(&self) -> impl Fragment + Constant + Register
fn as_global_variable(&self) -> impl Fragment + Constant + GlobalVariable
fn as_local_variable(&self) -> impl Fragment + Constant + LocalVariable
fn as_stack_variable(&self) -> impl Fragment + Constant + StackVariable
Auto Trait Implementations§
impl Freeze for ProgramFragment
impl RefUnwindSafe for ProgramFragment
impl Send for ProgramFragment
impl Sync for ProgramFragment
impl Unpin for ProgramFragment
impl UnwindSafe for ProgramFragment
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