Struct rs::locale::OwnedTranslation
source · [−]pub struct OwnedTranslation(pub String);
Tuple Fields
0: String
Trait Implementations
sourceimpl Clone for OwnedTranslation
impl Clone for OwnedTranslation
sourcefn clone(&self) -> OwnedTranslation
fn clone(&self) -> OwnedTranslation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OwnedTranslation
impl Debug for OwnedTranslation
sourceimpl PartialEq<OwnedTranslation> for OwnedTranslation
impl PartialEq<OwnedTranslation> for OwnedTranslation
sourcefn eq(&self, other: &OwnedTranslation) -> bool
fn eq(&self, other: &OwnedTranslation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OwnedTranslation) -> bool
fn ne(&self, other: &OwnedTranslation) -> bool
This method tests for !=
.
impl StructuralPartialEq for OwnedTranslation
Auto Trait Implementations
impl RefUnwindSafe for OwnedTranslation
impl Send for OwnedTranslation
impl Sync for OwnedTranslation
impl Unpin for OwnedTranslation
impl UnwindSafe for OwnedTranslation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more