[][src]Struct wayk_proto::message::now_messages::surface::NowSurfaceDef

pub struct NowSurfaceDef {
    pub flags: SurfacePropertiesFlags,
    pub surface_id: u16,
    pub orientation: SurfaceOrientation,
    pub rect: EdgeRect,
    // some fields omitted
}

Fields

flags: SurfacePropertiesFlagssurface_id: u16orientation: SurfaceOrientationrect: EdgeRect

Implementations

impl NowSurfaceDef[src]

pub const REQUIRED_SIZE: usize[src]

pub fn new(surface_id: u16, rect: EdgeRect) -> Self[src]

pub fn flags<F: Into<SurfacePropertiesFlags>>(self, flags: F) -> Self[src]

pub fn orientation<O: Into<SurfaceOrientation>>(self, orientation: O) -> Self[src]

Trait Implementations

impl Clone for NowSurfaceDef[src]

impl Debug for NowSurfaceDef[src]

impl<'dec> Decode<'dec> for NowSurfaceDef[src]

impl Encode for NowSurfaceDef[src]

Auto Trait Implementations

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.