Struct ruby_marshal::StringValue
source · pub struct StringValue { /* private fields */ }
Expand description
A String
Implementations§
source§impl StringValue
impl StringValue
sourcepub fn instance_variables(
&self,
) -> Option<&[(TypedValueHandle<SymbolValue>, ValueHandle)]>
pub fn instance_variables( &self, ) -> Option<&[(TypedValueHandle<SymbolValue>, ValueHandle)]>
Get the instance variables
Trait Implementations§
source§impl Debug for StringValue
impl Debug for StringValue
source§impl From<StringValue> for Value
impl From<StringValue> for Value
source§fn from(value: StringValue) -> Self
fn from(value: StringValue) -> Self
Converts to this type from the input type.
source§impl<'a> FromValue<'a> for &'a StringValue
impl<'a> FromValue<'a> for &'a StringValue
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 StringValue
impl RefUnwindSafe for StringValue
impl Send for StringValue
impl Sync for StringValue
impl Unpin for StringValue
impl UnwindSafe for StringValue
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