[−][src]Struct direct2d::enums::PresentOptions
Methods
impl PresentOptions
[src]
pub const NONE: PresentOptions
[src]
pub const RETAIN_CONTENTS: PresentOptions
[src]
pub const IMMEDIATELY: PresentOptions
[src]
pub fn is_set(self, flags: Self) -> bool
[src]
Test whether the given flags are set on this instance. Eqivalent to
value & flags == flags
.
pub fn clear(&mut self, flags: Self)
[src]
Clear the given flags from this instance. Equivalent to value &= !flags;
.
pub fn validate(self) -> bool
[src]
Checks whether any flags are set in the bitfield representation that don't exist in the enumeration definition. Returns true if only valid flags are set.
Trait Implementations
impl PartialEq<PresentOptions> for PresentOptions
[src]
fn eq(&self, other: &PresentOptions) -> bool
[src]
fn ne(&self, other: &PresentOptions) -> bool
[src]
impl Default for PresentOptions
[src]
impl Ord for PresentOptions
[src]
fn cmp(&self, other: &PresentOptions) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Clone for PresentOptions
[src]
fn clone(&self) -> PresentOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for PresentOptions
[src]
impl Copy for PresentOptions
[src]
impl PartialOrd<PresentOptions> for PresentOptions
[src]
fn partial_cmp(&self, other: &PresentOptions) -> Option<Ordering>
[src]
fn lt(&self, other: &PresentOptions) -> bool
[src]
fn le(&self, other: &PresentOptions) -> bool
[src]
fn gt(&self, other: &PresentOptions) -> bool
[src]
fn ge(&self, other: &PresentOptions) -> bool
[src]
impl Hash for PresentOptions
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Not for PresentOptions
[src]
impl BitAnd<PresentOptions> for PresentOptions
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self
[src]
impl BitOr<PresentOptions> for PresentOptions
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self
[src]
impl BitXor<PresentOptions> for PresentOptions
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: Self) -> Self
[src]
impl BitAndAssign<PresentOptions> for PresentOptions
[src]
fn bitand_assign(&mut self, rhs: Self)
[src]
impl BitOrAssign<PresentOptions> for PresentOptions
[src]
fn bitor_assign(&mut self, rhs: Self)
[src]
impl BitXorAssign<PresentOptions> for PresentOptions
[src]
fn bitxor_assign(&mut self, rhs: Self)
[src]
impl Debug for PresentOptions
[src]
Auto Trait Implementations
impl Send for PresentOptions
impl Sync for PresentOptions
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> FontKey for T where
T: Send + Sync + 'static + ?Sized,
[src]
T: Send + Sync + 'static + ?Sized,