Struct font8x8::unicode::FontUnicode [−][src]
A single 8x8 font which supports UTF-16
encoding/decoding.
Implementations
impl FontUnicode
[src]
pub fn char(&self) -> char
[src]
Return the char value
pub fn byte_array(&self) -> [u8; 8]
[src]
Return the [u8; 8]
-representation for this font.
pub fn is_whitespace(&self) -> bool
[src]
Returns a bool
indicating whether this font renders as a whitespace (all 0
).
pub fn into_inner(self) -> (char, [u8; 8])
[src]
Consumes the current FontUnicode
and returns the inner (char, [u8; 8])
tuple.
Trait Implementations
impl Clone for FontUnicode
[src]
fn clone(&self) -> FontUnicode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FontUnicode
[src]
impl Debug for FontUnicode
[src]
impl Display for FontUnicode
[src]
impl From<FontUnicode> for char
[src]
fn from(f: FontUnicode) -> char
[src]
impl From<FontUnicode> for [u8; 8]
[src]
impl From<FontUnicode> for (char, [u8; 8])
[src]
impl PartialEq<FontUnicode> for FontUnicode
[src]
fn eq(&self, other: &FontUnicode) -> bool
[src]
fn ne(&self, other: &FontUnicode) -> bool
[src]
impl StructuralPartialEq for FontUnicode
[src]
Auto Trait Implementations
impl RefUnwindSafe for FontUnicode
impl Send for FontUnicode
impl Sync for FontUnicode
impl Unpin for FontUnicode
impl UnwindSafe for FontUnicode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,