Struct skia_safe::typeface::LocalizedString
source · pub struct LocalizedString {
pub string: String,
pub language: String,
}
Fields§
§string: String
§language: String
Trait Implementations§
source§impl Clone for LocalizedString
impl Clone for LocalizedString
source§fn clone(&self) -> LocalizedString
fn clone(&self) -> LocalizedString
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 LocalizedString
impl Debug for LocalizedString
source§impl PartialEq<LocalizedString> for LocalizedString
impl PartialEq<LocalizedString> for LocalizedString
source§fn eq(&self, other: &LocalizedString) -> bool
fn eq(&self, other: &LocalizedString) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LocalizedString
impl StructuralEq for LocalizedString
impl StructuralPartialEq for LocalizedString
Auto Trait Implementations§
impl RefUnwindSafe for LocalizedString
impl Send for LocalizedString
impl Sync for LocalizedString
impl Unpin for LocalizedString
impl UnwindSafe for LocalizedString
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