Struct x11rb_protocol::protocol::damage::ReportLevel
source · pub struct ReportLevel(/* private fields */);
Implementations§
source§impl ReportLevel
impl ReportLevel
pub const RAW_RECTANGLES: Self = _
pub const DELTA_RECTANGLES: Self = _
pub const BOUNDING_BOX: Self = _
pub const NON_EMPTY: Self = _
Trait Implementations§
source§impl Clone for ReportLevel
impl Clone for ReportLevel
source§fn clone(&self) -> ReportLevel
fn clone(&self) -> ReportLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReportLevel
impl Debug for ReportLevel
source§impl Default for ReportLevel
impl Default for ReportLevel
source§fn default() -> ReportLevel
fn default() -> ReportLevel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReportLevel
impl<'de> Deserialize<'de> for ReportLevel
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ReportLevel> for Option<u16>
impl From<ReportLevel> for Option<u16>
source§fn from(input: ReportLevel) -> Self
fn from(input: ReportLevel) -> Self
Converts to this type from the input type.
source§impl From<ReportLevel> for Option<u32>
impl From<ReportLevel> for Option<u32>
source§fn from(input: ReportLevel) -> Self
fn from(input: ReportLevel) -> Self
Converts to this type from the input type.
source§impl From<ReportLevel> for Option<u8>
impl From<ReportLevel> for Option<u8>
source§fn from(input: ReportLevel) -> Self
fn from(input: ReportLevel) -> Self
Converts to this type from the input type.
source§impl From<ReportLevel> for u16
impl From<ReportLevel> for u16
source§fn from(input: ReportLevel) -> Self
fn from(input: ReportLevel) -> Self
Converts to this type from the input type.
source§impl From<ReportLevel> for u32
impl From<ReportLevel> for u32
source§fn from(input: ReportLevel) -> Self
fn from(input: ReportLevel) -> Self
Converts to this type from the input type.
source§impl From<ReportLevel> for u8
impl From<ReportLevel> for u8
source§fn from(input: ReportLevel) -> Self
fn from(input: ReportLevel) -> Self
Converts to this type from the input type.
source§impl From<u8> for ReportLevel
impl From<u8> for ReportLevel
source§impl Hash for ReportLevel
impl Hash for ReportLevel
source§impl Ord for ReportLevel
impl Ord for ReportLevel
source§fn cmp(&self, other: &ReportLevel) -> Ordering
fn cmp(&self, other: &ReportLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ReportLevel
impl PartialEq for ReportLevel
source§fn eq(&self, other: &ReportLevel) -> bool
fn eq(&self, other: &ReportLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReportLevel
impl PartialOrd for ReportLevel
source§fn partial_cmp(&self, other: &ReportLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &ReportLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ReportLevel
impl Serialize for ReportLevel
impl Copy for ReportLevel
impl Eq for ReportLevel
impl StructuralPartialEq for ReportLevel
Auto Trait Implementations§
impl Freeze for ReportLevel
impl RefUnwindSafe for ReportLevel
impl Send for ReportLevel
impl Sync for ReportLevel
impl Unpin for ReportLevel
impl UnwindSafe for ReportLevel
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more