Struct docs::object::StringObject
source · pub struct StringObject {
pub value: String,
}Fields§
§value: StringTrait Implementations§
source§impl Clone for StringObject
impl Clone for StringObject
source§fn clone(&self) -> StringObject
fn clone(&self) -> StringObject
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StringObject
impl Debug for StringObject
source§impl ObjectTrait for StringObject
impl ObjectTrait for StringObject
source§impl PartialEq for StringObject
impl PartialEq for StringObject
source§fn eq(&self, other: &StringObject) -> bool
fn eq(&self, other: &StringObject) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StringObject
Auto Trait Implementations§
impl Freeze for StringObject
impl RefUnwindSafe for StringObject
impl Send for StringObject
impl Sync for StringObject
impl Unpin for StringObject
impl UnwindSafe for StringObject
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