Struct screen_buffer_ui::Pixel[][src]

pub struct Pixel<T: Default + Clone + Copy + PartialEq> {
    pub text: Option<char>,
    pub style: T,
}

Fields

text: Option<char>style: T

Trait Implementations

impl<T: Clone + Default + Copy + PartialEq> Clone for Pixel<T>[src]

impl<T: Copy + Default + Clone + PartialEq> Copy for Pixel<T>[src]

impl<T: Debug + Default + Clone + Copy + PartialEq> Debug for Pixel<T>[src]

impl<T: Default + Clone + Copy + PartialEq> Default for Pixel<T>[src]

impl<T: PartialEq + Default + Clone + Copy> PartialEq<Pixel<T>> for Pixel<T>[src]

impl<T: Default + Clone + Copy + PartialEq> StructuralPartialEq for Pixel<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Pixel<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for Pixel<T> where
    T: Send
[src]

impl<T> Sync for Pixel<T> where
    T: Sync
[src]

impl<T> Unpin for Pixel<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Pixel<T> where
    T: UnwindSafe
[src]

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> 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.