Struct centaurea_ui::Canvas[][src]

pub struct Canvas<'a, S: Style> {
    pub frame: Rect,
    // some fields omitted
}

Fields

frame: Rect

Implementations

impl<'a, S: Style> Canvas<'a, S>[src]

pub fn new(buffer: &'a mut Buffer<S>, frame: Rect) -> Self[src]

Trait Implementations

impl<'a, S: Style> Drawable<S> for Canvas<'a, S>[src]

Auto Trait Implementations

impl<'a, S> RefUnwindSafe for Canvas<'a, S> where
    S: RefUnwindSafe

impl<'a, S> Send for Canvas<'a, S> where
    S: Send

impl<'a, S> Sync for Canvas<'a, S> where
    S: Sync

impl<'a, S> Unpin for Canvas<'a, S>

impl<'a, S> !UnwindSafe for Canvas<'a, S>

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