#[repr(C)]pub struct Value {
pub value: InternalValue,
}
Fields§
§value: InternalValue
Implementations§
source§impl Value
impl Value
pub fn is_true(&self) -> bool
pub fn is_false(&self) -> bool
pub fn is_nil(&self) -> bool
pub fn is_node(&self) -> bool
pub fn is_undef(&self) -> bool
pub fn is_symbol(&self) -> bool
pub fn is_fixnum(&self) -> bool
pub fn is_flonum(&self) -> bool
pub fn is_frozen(&self) -> bool
pub fn ty(&self) -> ValueType
Trait Implementations§
source§impl AsRef<Value> for AnyException
impl AsRef<Value> for AnyException
source§impl Borrow<Value> for AnyException
impl Borrow<Value> for AnyException
source§impl From<Value> for AnyException
impl From<Value> for AnyException
source§impl From<Value> for Enumerator
impl From<Value> for Enumerator
source§impl From<usize> for Value
impl From<usize> for Value
source§fn from(internal_value: InternalValue) -> Self
fn from(internal_value: InternalValue) -> Self
Converts to this type from the input type.
source§impl Into<Value> for AnyException
impl Into<Value> for AnyException
source§impl Into<Value> for Enumerator
impl Into<Value> for Enumerator
source§impl PartialEq for Value
impl PartialEq for Value
impl Copy for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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