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

pub struct NowSurfaceMapReqMsg {
    pub flags: u8,
    pub sequence_id: u16,
    pub desktop_width: u16,
    pub desktop_height: u16,
    pub maps: Vec8<NowSurfaceMap>,
    // some fields omitted
}

Fields

flags: u8sequence_id: u16desktop_width: u16desktop_height: u16maps: Vec8<NowSurfaceMap>

Implementations

impl NowSurfaceMapReqMsg[src]

pub const SUBTYPE: SurfaceMessageType[src]

pub const REQUIRED_SIZE: usize[src]

pub fn new(sequence_id: u16, desktop_width: u16, desktop_height: u16) -> Self[src]

pub fn new_with_mappings(
    sequence_id: u16,
    desktop_width: u16,
    desktop_height: u16,
    maps: Vec<NowSurfaceMap>
) -> Self
[src]

Trait Implementations

impl Clone for NowSurfaceMapReqMsg[src]

impl Debug for NowSurfaceMapReqMsg[src]

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

impl Encode for NowSurfaceMapReqMsg[src]

impl From<NowSurfaceMapReqMsg> for NowSurfaceMsg[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.