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

pub struct SurfacePropertiesFlags {
    pub value: u16,
}

Fields

value: u16

Implementations

impl SurfacePropertiesFlags[src]

pub fn new_empty() -> Self[src]

impl SurfacePropertiesFlags[src]

pub const PRIMARY: u16[src]

pub fn primary(self) -> bool[src]

pub fn set_primary(&mut self) -> Self[src]

pub fn unset_primary(&mut self) -> Self[src]

pub const MIRRORED: u16[src]

pub fn mirrored(self) -> bool[src]

pub fn set_mirrored(&mut self) -> Self[src]

pub fn unset_mirrored(&mut self) -> Self[src]

pub const DISABLED: u16[src]

pub fn disabled(self) -> bool[src]

pub fn set_disabled(&mut self) -> Self[src]

pub fn unset_disabled(&mut self) -> Self[src]

pub const SELECTED: u16[src]

pub fn selected(self) -> bool[src]

pub fn set_selected(&mut self) -> Self[src]

pub fn unset_selected(&mut self) -> Self[src]

Trait Implementations

impl Clone for SurfacePropertiesFlags[src]

impl Copy for SurfacePropertiesFlags[src]

impl Debug for SurfacePropertiesFlags[src]

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

impl Default for SurfacePropertiesFlags[src]

impl Encode for SurfacePropertiesFlags[src]

impl From<u16> for SurfacePropertiesFlags[src]

impl Into<u16> for SurfacePropertiesFlags[src]

impl PartialEq<SurfacePropertiesFlags> for SurfacePropertiesFlags[src]

impl PartialEq<u16> for SurfacePropertiesFlags[src]

impl StructuralPartialEq for SurfacePropertiesFlags[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.