pub struct OffscreenRedirect { /* private fields */ }
Implementations§
Source§impl OffscreenRedirect
impl OffscreenRedirect
pub const AUTOMATIC_FOR_OPACITY: OffscreenRedirect
pub const ALWAYS: OffscreenRedirect
Sourcepub const fn empty() -> OffscreenRedirect
pub const fn empty() -> OffscreenRedirect
Returns an empty set of flags
Sourcepub const fn all() -> OffscreenRedirect
pub const fn all() -> OffscreenRedirect
Returns the set containing all flags.
Sourcepub fn from_bits(bits: u32) -> Option<OffscreenRedirect>
pub fn from_bits(bits: u32) -> Option<OffscreenRedirect>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
Sourcepub const fn from_bits_truncate(bits: u32) -> OffscreenRedirect
pub const fn from_bits_truncate(bits: u32) -> OffscreenRedirect
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
Sourcepub const unsafe fn from_bits_unchecked(bits: u32) -> OffscreenRedirect
pub const unsafe fn from_bits_unchecked(bits: u32) -> OffscreenRedirect
Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
Sourcepub const fn intersects(&self, other: OffscreenRedirect) -> bool
pub const fn intersects(&self, other: OffscreenRedirect) -> bool
Returns true
if there are flags common to both self
and other
.
Sourcepub const fn contains(&self, other: OffscreenRedirect) -> bool
pub const fn contains(&self, other: OffscreenRedirect) -> bool
Returns true
all of the flags in other
are contained within self
.
Sourcepub fn insert(&mut self, other: OffscreenRedirect)
pub fn insert(&mut self, other: OffscreenRedirect)
Inserts the specified flags in-place.
Sourcepub fn remove(&mut self, other: OffscreenRedirect)
pub fn remove(&mut self, other: OffscreenRedirect)
Removes the specified flags in-place.
Sourcepub fn toggle(&mut self, other: OffscreenRedirect)
pub fn toggle(&mut self, other: OffscreenRedirect)
Toggles the specified flags in-place.
Sourcepub fn set(&mut self, other: OffscreenRedirect, value: bool)
pub fn set(&mut self, other: OffscreenRedirect, value: bool)
Inserts or removes the specified flags depending on the passed value.
Trait Implementations§
Source§impl Binary for OffscreenRedirect
impl Binary for OffscreenRedirect
Source§impl BitAnd for OffscreenRedirect
impl BitAnd for OffscreenRedirect
Source§fn bitand(self, other: OffscreenRedirect) -> OffscreenRedirect
fn bitand(self, other: OffscreenRedirect) -> OffscreenRedirect
Returns the intersection between the two sets of flags.
Source§type Output = OffscreenRedirect
type Output = OffscreenRedirect
&
operator.Source§impl BitAndAssign for OffscreenRedirect
impl BitAndAssign for OffscreenRedirect
Source§fn bitand_assign(&mut self, other: OffscreenRedirect)
fn bitand_assign(&mut self, other: OffscreenRedirect)
Disables all flags disabled in the set.
Source§impl BitOr for OffscreenRedirect
impl BitOr for OffscreenRedirect
Source§fn bitor(self, other: OffscreenRedirect) -> OffscreenRedirect
fn bitor(self, other: OffscreenRedirect) -> OffscreenRedirect
Returns the union of the two sets of flags.
Source§type Output = OffscreenRedirect
type Output = OffscreenRedirect
|
operator.Source§impl BitOrAssign for OffscreenRedirect
impl BitOrAssign for OffscreenRedirect
Source§fn bitor_assign(&mut self, other: OffscreenRedirect)
fn bitor_assign(&mut self, other: OffscreenRedirect)
Adds the set of flags.
Source§impl BitXor for OffscreenRedirect
impl BitXor for OffscreenRedirect
Source§fn bitxor(self, other: OffscreenRedirect) -> OffscreenRedirect
fn bitxor(self, other: OffscreenRedirect) -> OffscreenRedirect
Returns the left flags, but with all the right flags toggled.
Source§type Output = OffscreenRedirect
type Output = OffscreenRedirect
^
operator.Source§impl BitXorAssign for OffscreenRedirect
impl BitXorAssign for OffscreenRedirect
Source§fn bitxor_assign(&mut self, other: OffscreenRedirect)
fn bitxor_assign(&mut self, other: OffscreenRedirect)
Toggles the set of flags.
Source§impl Clone for OffscreenRedirect
impl Clone for OffscreenRedirect
Source§fn clone(&self) -> OffscreenRedirect
fn clone(&self) -> OffscreenRedirect
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for OffscreenRedirect
impl Debug for OffscreenRedirect
Source§impl Extend<OffscreenRedirect> for OffscreenRedirect
impl Extend<OffscreenRedirect> for OffscreenRedirect
Source§fn extend<T: IntoIterator<Item = OffscreenRedirect>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = OffscreenRedirect>>(&mut self, iterator: T)
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one
)Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one
)Source§impl FromIterator<OffscreenRedirect> for OffscreenRedirect
impl FromIterator<OffscreenRedirect> for OffscreenRedirect
Source§fn from_iter<T: IntoIterator<Item = OffscreenRedirect>>(
iterator: T,
) -> OffscreenRedirect
fn from_iter<T: IntoIterator<Item = OffscreenRedirect>>( iterator: T, ) -> OffscreenRedirect
Source§impl<'a> FromValue<'a> for OffscreenRedirect
impl<'a> FromValue<'a> for OffscreenRedirect
Source§unsafe fn from_value(value: &Value) -> Self
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for OffscreenRedirect
impl<'a> FromValueOptional<'a> for OffscreenRedirect
Source§impl Hash for OffscreenRedirect
impl Hash for OffscreenRedirect
Source§impl LowerHex for OffscreenRedirect
impl LowerHex for OffscreenRedirect
Source§impl Not for OffscreenRedirect
impl Not for OffscreenRedirect
Source§fn not(self) -> OffscreenRedirect
fn not(self) -> OffscreenRedirect
Returns the complement of this set of flags.
Source§type Output = OffscreenRedirect
type Output = OffscreenRedirect
!
operator.Source§impl Octal for OffscreenRedirect
impl Octal for OffscreenRedirect
Source§impl Ord for OffscreenRedirect
impl Ord for OffscreenRedirect
Source§fn cmp(&self, other: &OffscreenRedirect) -> Ordering
fn cmp(&self, other: &OffscreenRedirect) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for OffscreenRedirect
impl PartialEq for OffscreenRedirect
Source§impl PartialOrd for OffscreenRedirect
impl PartialOrd for OffscreenRedirect
Source§impl SetValue for OffscreenRedirect
impl SetValue for OffscreenRedirect
Source§impl StaticType for OffscreenRedirect
impl StaticType for OffscreenRedirect
Source§fn static_type() -> Type
fn static_type() -> Type
Self
.Source§impl Sub for OffscreenRedirect
impl Sub for OffscreenRedirect
Source§fn sub(self, other: OffscreenRedirect) -> OffscreenRedirect
fn sub(self, other: OffscreenRedirect) -> OffscreenRedirect
Returns the set difference of the two sets of flags.
Source§type Output = OffscreenRedirect
type Output = OffscreenRedirect
-
operator.Source§impl SubAssign for OffscreenRedirect
impl SubAssign for OffscreenRedirect
Source§fn sub_assign(&mut self, other: OffscreenRedirect)
fn sub_assign(&mut self, other: OffscreenRedirect)
Disables all flags enabled in the set.
Source§impl UpperHex for OffscreenRedirect
impl UpperHex for OffscreenRedirect
impl Copy for OffscreenRedirect
impl Eq for OffscreenRedirect
impl StructuralPartialEq for OffscreenRedirect
Auto Trait Implementations§
impl Freeze for OffscreenRedirect
impl RefUnwindSafe for OffscreenRedirect
impl Send for OffscreenRedirect
impl Sync for OffscreenRedirect
impl Unpin for OffscreenRedirect
impl UnwindSafe for OffscreenRedirect
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.