Struct ruby_marshal::ObjectValue
source · pub struct ObjectValue { /* private fields */ }
Expand description
An object
Implementations§
source§impl ObjectValue
impl ObjectValue
sourcepub fn name(&self) -> TypedValueHandle<SymbolValue>
pub fn name(&self) -> TypedValueHandle<SymbolValue>
Get the name.
sourcepub fn instance_variables(
&self,
) -> &[(TypedValueHandle<SymbolValue>, ValueHandle)]
pub fn instance_variables( &self, ) -> &[(TypedValueHandle<SymbolValue>, ValueHandle)]
Get the instance variables
Trait Implementations§
source§impl Debug for ObjectValue
impl Debug for ObjectValue
source§impl From<ObjectValue> for Value
impl From<ObjectValue> for Value
source§fn from(value: ObjectValue) -> Self
fn from(value: ObjectValue) -> Self
Converts to this type from the input type.
source§impl<'a> FromValue<'a> for &'a ObjectValue
impl<'a> FromValue<'a> for &'a ObjectValue
source§fn from_value(
ctx: &FromValueContext<'a>,
value: &'a Value,
) -> Result<Self, FromValueError>
fn from_value( ctx: &FromValueContext<'a>, value: &'a Value, ) -> Result<Self, FromValueError>
Create this type from the given value from the
ValueArena
. Read moreAuto Trait Implementations§
impl Freeze for ObjectValue
impl RefUnwindSafe for ObjectValue
impl Send for ObjectValue
impl Sync for ObjectValue
impl Unpin for ObjectValue
impl UnwindSafe for ObjectValue
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