pub struct StringSingleton {
pub value: String,
}Fields§
§value: StringImplementations§
Source§impl StringSingleton
impl StringSingleton
pub fn operator_eq(&self, rhs: &StringSingleton) -> bool
Source§impl StringSingleton
impl StringSingleton
pub fn operator_ne(&self, rhs: &StringSingleton) -> bool
Trait Implementations§
Source§impl Clone for StringSingleton
impl Clone for StringSingleton
Source§fn clone(&self) -> StringSingleton
fn clone(&self) -> StringSingleton
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StringSingleton
impl Debug for StringSingleton
Source§impl Default for StringSingleton
impl Default for StringSingleton
Source§fn default() -> StringSingleton
fn default() -> StringSingleton
Returns the “default value” for a type. Read more
impl Eq for StringSingleton
Source§impl Hash for StringSingleton
impl Hash for StringSingleton
Source§impl PartialEq for StringSingleton
impl PartialEq for StringSingleton
Source§fn eq(&self, other: &StringSingleton) -> bool
fn eq(&self, other: &StringSingleton) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Send for StringSingleton
Source§impl SingletonVariantMember for StringSingleton
impl SingletonVariantMember for StringSingleton
fn get_if(v: &SingletonVariant) -> Option<&Self>
fn get_if_mut(v: &mut SingletonVariant) -> Option<&mut Self>
impl StructuralPartialEq for StringSingleton
impl Sync for StringSingleton
Auto Trait Implementations§
impl Freeze for StringSingleton
impl RefUnwindSafe for StringSingleton
impl Unpin for StringSingleton
impl UnsafeUnpin for StringSingleton
impl UnwindSafe for StringSingleton
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