glyph_ui::unit

Enum Cell

Source
pub enum Cell {}
Expand description

A character cell

Auto Trait Implementations§

§

impl Freeze for Cell

§

impl RefUnwindSafe for Cell

§

impl Send for Cell

§

impl Sync for Cell

§

impl Unpin for Cell

§

impl UnwindSafe for Cell

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<'a, T, M, V> ViewExt<'a, T, M> for V

Source§

fn into_element(self) -> View<'a, T, M>
where Self: ViewTrait<T, M> + Sized + 'a,

Source§

impl<'a, T, O, M, F, V> ViewExt<'a, T, O, M, F> for V
where F: Fn(O) -> M + Clone + 'static, M: 'static, O: 'static,

Source§

fn map(self, f: F) -> View<'a, T, M>
where Self: ViewTrait<T, O> + Sized + 'a,

Source§

impl<V> ViewExt for V

Source§

fn align(self) -> View<Self>
where Self: Sized,

Source§

impl<V> ViewExt for V

Source§

fn border(self) -> View<Self>
where Self: Sized,

Source§

impl<V> ViewExt for V

Source§

fn on_event<F, A, B, C>(self, f: F) -> View<Self, F>
where Self: Sized, F: Fn(&Event<A>, B) -> Box<dyn Iterator<Item = C>>,

Source§

impl<V> ViewExt for V

Source§

fn pad(self, l: u16, r: u16, t: u16, b: u16) -> View<Self>
where Self: Sized,