pub struct TearingMode(pub u32);
Expand description
The tearing mode of a connector.
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
Source§impl Clone for TearingMode
impl Clone for TearingMode
Source§fn clone(&self) -> TearingMode
fn clone(&self) -> TearingMode
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 TearingMode
impl Debug for TearingMode
Source§impl Default for TearingMode
impl Default for TearingMode
Source§fn default() -> TearingMode
fn default() -> TearingMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TearingMode
impl<'de> Deserialize<'de> for TearingMode
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 Hash for TearingMode
impl Hash for TearingMode
Source§impl PartialEq for TearingMode
impl PartialEq for TearingMode
Source§impl Serialize for TearingMode
impl Serialize for TearingMode
impl Copy for TearingMode
impl Eq for TearingMode
impl StructuralPartialEq for TearingMode
Auto Trait Implementations§
impl Freeze for TearingMode
impl RefUnwindSafe for TearingMode
impl Send for TearingMode
impl Sync for TearingMode
impl Unpin for TearingMode
impl UnwindSafe for TearingMode
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