pub struct EncodingRecord {
pub platform_id: PlatformId,
pub encoding_id: EncodingId,
pub sub_table: CmapSubtable,
}
Fields§
§platform_id: PlatformId
§encoding_id: EncodingId
§sub_table: CmapSubtable
Implementations§
source§impl EncodingRecord
impl EncodingRecord
pub fn from_mappings( mappings: &MappingsToKeep<NewIds>, ) -> Result<Self, ParseError>
Trait Implementations§
source§impl Clone for EncodingRecord
impl Clone for EncodingRecord
source§fn clone(&self) -> EncodingRecord
fn clone(&self) -> EncodingRecord
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 EncodingRecord
impl Debug for EncodingRecord
source§impl PartialEq for EncodingRecord
impl PartialEq for EncodingRecord
source§fn eq(&self, other: &EncodingRecord) -> bool
fn eq(&self, other: &EncodingRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncodingRecord
Auto Trait Implementations§
impl Freeze for EncodingRecord
impl RefUnwindSafe for EncodingRecord
impl Send for EncodingRecord
impl Sync for EncodingRecord
impl Unpin for EncodingRecord
impl UnwindSafe for EncodingRecord
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more