Enum figfont::subcharacter::SubCharacter [−][src]
pub enum SubCharacter { Symbol(String), Blank, }
Expand description
A SubCharacter is a single real character
Variants
Symbol(String)
The actual subcharacter
An hard blank character. It will print a space character. It’s not a SubCharacter::Symbol(“ “.to_string()) for implementations purposes.
Implementations
impl SubCharacter
[src]
impl SubCharacter
[src]Trait Implementations
impl Borrow<str> for SubCharacter
[src]
impl Borrow<str> for SubCharacter
[src]impl Clone for SubCharacter
[src]
impl Clone for SubCharacter
[src]fn clone(&self) -> SubCharacter
[src]
fn clone(&self) -> SubCharacter
[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 SubCharacter
[src]
impl Debug for SubCharacter
[src]impl Display for SubCharacter
[src]
impl Display for SubCharacter
[src]impl PartialEq<SubCharacter> for SubCharacter
[src]
impl PartialEq<SubCharacter> for SubCharacter
[src]fn eq(&self, other: &SubCharacter) -> bool
[src]
fn eq(&self, other: &SubCharacter) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SubCharacter) -> bool
[src]
fn ne(&self, other: &SubCharacter) -> bool
[src]This method tests for !=
.
impl Eq for SubCharacter
[src]
impl StructuralEq for SubCharacter
[src]
impl StructuralPartialEq for SubCharacter
[src]
Auto Trait Implementations
impl RefUnwindSafe for SubCharacter
impl Send for SubCharacter
impl Sync for SubCharacter
impl Unpin for SubCharacter
impl UnwindSafe for SubCharacter
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