pub enum RootValue {
Param(RustParam, VarType),
Table(ConstTable),
CList(ConstList),
MList(MutListDef),
}Variants§
Implementations§
Source§impl RootValue
impl RootValue
pub fn into_rust_value(self, sab: RootSabValue) -> CoreResult<RustValue>
Trait Implementations§
Source§impl IdentityEqual for RootValue
impl IdentityEqual for RootValue
fn identity_eq(&self, _other: &Self) -> bool
impl StructuralPartialEq for RootValue
Auto Trait Implementations§
impl Freeze for RootValue
impl RefUnwindSafe for RootValue
impl Send for RootValue
impl Sync for RootValue
impl Unpin for RootValue
impl UnwindSafe for RootValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more