Struct ruby_marshal::HashValue
source · pub struct HashValue { /* private fields */ }
Expand description
A Hash
Implementations§
source§impl HashValue
impl HashValue
sourcepub fn value(&self) -> &[(ValueHandle, ValueHandle)]
pub fn value(&self) -> &[(ValueHandle, ValueHandle)]
Get the inner value.
sourcepub fn default_value(&self) -> Option<ValueHandle>
pub fn default_value(&self) -> Option<ValueHandle>
Get the default value.
Trait Implementations§
source§impl<'a> FromValue<'a> for &'a HashValue
impl<'a> FromValue<'a> for &'a HashValue
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 HashValue
impl RefUnwindSafe for HashValue
impl Send for HashValue
impl Sync for HashValue
impl Unpin for HashValue
impl UnwindSafe for HashValue
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