Struct embedded_text::rendering::space_config::UniformSpaceConfig[][src]

pub struct UniformSpaceConfig<F> {
    pub space_width: u32,
    // some fields omitted
}

Contains the fixed width of a space character.

Fields

space_width: u32

Space width.

Trait Implementations

impl<F: Clone> Clone for UniformSpaceConfig<F>[src]

impl<F: Copy> Copy for UniformSpaceConfig<F>[src]

impl<F: Debug> Debug for UniformSpaceConfig<F>[src]

impl<F> Default for UniformSpaceConfig<F> where
    F: Font + Copy
[src]

#[must_use]
fn default() -> Self
[src]

Creates a default space configuration object based on the current font.

impl<F> SpaceConfig for UniformSpaceConfig<F> where
    F: Font + Copy
[src]

type Font = F

The font for which this space config belongs.

Auto Trait Implementations

impl<F> RefUnwindSafe for UniformSpaceConfig<F> where
    F: RefUnwindSafe

impl<F> Send for UniformSpaceConfig<F> where
    F: Send

impl<F> Sync for UniformSpaceConfig<F> where
    F: Sync

impl<F> Unpin for UniformSpaceConfig<F> where
    F: Unpin

impl<F> UnwindSafe for UniformSpaceConfig<F> where
    F: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.