pub enum RibResult {
Unit,
Val(ValueAndType),
}Variants§
Unit
Val(ValueAndType)
Implementations§
Source§impl RibResult
impl RibResult
pub fn from_rib_interpreter_stack_value( stack_value: &RibInterpreterStackValue, ) -> Option<RibResult>
pub fn get_bool(&self) -> Option<bool>
pub fn get_val(&self) -> Option<ValueAndType>
pub fn get_literal(&self) -> Option<LiteralValue>
pub fn get_record(&self) -> Option<Vec<(String, ValueAndType)>>
Trait Implementations§
impl StructuralPartialEq for RibResult
Auto Trait Implementations§
impl Freeze for RibResult
impl RefUnwindSafe for RibResult
impl Send for RibResult
impl Sync for RibResult
impl Unpin for RibResult
impl UnsafeUnpin for RibResult
impl UnwindSafe for RibResult
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