Struct fontdue::layout::CharacterData [−][src]
pub struct CharacterData { /* fields omitted */ }
Expand description
Miscellaneous metadata associated with a character.
Implementations
impl CharacterData
[src]
impl CharacterData
[src]pub fn classify(c: char, index: usize) -> CharacterData
[src]
pub fn is_whitespace(&self) -> bool
[src]
pub fn is_whitespace(&self) -> bool
[src]Marks if the character is an ASCII whitespace character.
pub fn is_control(&self) -> bool
[src]
pub fn is_control(&self) -> bool
[src]Marks if the character is an ASCII control character.
pub fn is_missing(&self) -> bool
[src]
pub fn is_missing(&self) -> bool
[src]Marks if the character is missing from its associated font.
Trait Implementations
impl Clone for CharacterData
[src]
impl Clone for CharacterData
[src]fn clone(&self) -> CharacterData
[src]
fn clone(&self) -> CharacterData
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for CharacterData
[src]
impl Debug for CharacterData
[src]impl PartialEq<CharacterData> for CharacterData
[src]
impl PartialEq<CharacterData> for CharacterData
[src]fn eq(&self, other: &CharacterData) -> bool
[src]
fn eq(&self, other: &CharacterData) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &CharacterData) -> bool
[src]
fn ne(&self, other: &CharacterData) -> bool
[src]This method tests for !=
.
impl Copy for CharacterData
[src]
impl Eq for CharacterData
[src]
impl StructuralEq for CharacterData
[src]
impl StructuralPartialEq for CharacterData
[src]
Auto Trait Implementations
impl RefUnwindSafe for CharacterData
impl Send for CharacterData
impl Sync for CharacterData
impl Unpin for CharacterData
impl UnwindSafe for CharacterData
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more