[−][src]Struct wayk_proto::message::now_messages::surface::SurfacePropertiesFlags
Fields
value: u16
Implementations
impl SurfacePropertiesFlags
[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]
fn clone(&self) -> SurfacePropertiesFlags
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SurfacePropertiesFlags
[src]
impl Debug for SurfacePropertiesFlags
[src]
impl<'dec> Decode<'dec> for SurfacePropertiesFlags
[src]
fn decode_from(cursor: &mut Cursor<&'dec [u8]>) -> Result<Self, ProtoError>
[src]
fn decode(bytes: &'dec [u8]) -> Result<Self, ProtoError>
[src]
impl Default for SurfacePropertiesFlags
[src]
impl Encode for SurfacePropertiesFlags
[src]
fn encoded_len(&self) -> usize
[src]
fn encode_into<W: Write>(&self, writer: &mut W) -> Result<(), ProtoError>
[src]
fn encode(&self) -> Result<Vec<u8>, ProtoError> where
Self: Sized,
[src]
Self: Sized,
impl From<u16> for SurfacePropertiesFlags
[src]
impl Into<u16> for SurfacePropertiesFlags
[src]
impl PartialEq<SurfacePropertiesFlags> for SurfacePropertiesFlags
[src]
fn eq(&self, other: &SurfacePropertiesFlags) -> bool
[src]
fn ne(&self, other: &SurfacePropertiesFlags) -> bool
[src]
impl PartialEq<u16> for SurfacePropertiesFlags
[src]
impl StructuralPartialEq for SurfacePropertiesFlags
[src]
Auto Trait Implementations
impl RefUnwindSafe for SurfacePropertiesFlags
impl Send for SurfacePropertiesFlags
impl Sync for SurfacePropertiesFlags
impl Unpin for SurfacePropertiesFlags
impl UnwindSafe for SurfacePropertiesFlags
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,