Struct script_traits::AnimationTickType
source · pub struct AnimationTickType(pub(crate) <AnimationTickType as PublicFlags>::Internal);
Expand description
Specifies if rAF should be triggered and/or CSS Animations and Transitions.
Tuple Fields§
§0: <AnimationTickType as PublicFlags>::Internal
Implementations§
source§impl AnimationTickType
impl AnimationTickType
sourcepub const REQUEST_ANIMATION_FRAME: Self = _
pub const REQUEST_ANIMATION_FRAME: Self = _
Trigger a call to requestAnimationFrame.
sourcepub const CSS_ANIMATIONS_AND_TRANSITIONS: Self = _
pub const CSS_ANIMATIONS_AND_TRANSITIONS: Self = _
Trigger restyles for CSS Animations and Transitions.
Trait Implementations§
source§impl Binary for AnimationTickType
impl Binary for AnimationTickType
source§impl BitAnd<AnimationTickType> for AnimationTickType
impl BitAnd<AnimationTickType> for AnimationTickType
source§impl BitAndAssign<AnimationTickType> for AnimationTickType
impl BitAndAssign<AnimationTickType> for AnimationTickType
source§fn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
The bitwise and (&
) of the bits in two flags values.
source§impl BitOr<AnimationTickType> for AnimationTickType
impl BitOr<AnimationTickType> for AnimationTickType
source§fn bitor(self, other: AnimationTickType) -> Self
fn bitor(self, other: AnimationTickType) -> Self
The bitwise or (|
) of the bits in two flags values.
§type Output = AnimationTickType
type Output = AnimationTickType
|
operator.source§impl BitOrAssign<AnimationTickType> for AnimationTickType
impl BitOrAssign<AnimationTickType> for AnimationTickType
source§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
The bitwise or (|
) of the bits in two flags values.
source§impl BitXor<AnimationTickType> for AnimationTickType
impl BitXor<AnimationTickType> for AnimationTickType
source§impl BitXorAssign<AnimationTickType> for AnimationTickType
impl BitXorAssign<AnimationTickType> for AnimationTickType
source§fn bitxor_assign(&mut self, other: Self)
fn bitxor_assign(&mut self, other: Self)
The bitwise exclusive-or (^
) of the bits in two flags values.
source§impl<'de> Deserialize<'de> for AnimationTickType
impl<'de> Deserialize<'de> for AnimationTickType
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>,
source§impl Extend<AnimationTickType> for AnimationTickType
impl Extend<AnimationTickType> for AnimationTickType
source§fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)
The bitwise or (|
) of the bits in each flags value.
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 Flags for AnimationTickType
impl Flags for AnimationTickType
source§const FLAGS: &'static [Flag<AnimationTickType>] = _
const FLAGS: &'static [Flag<AnimationTickType>] = _
source§fn from_bits_retain(bits: u8) -> AnimationTickType
fn from_bits_retain(bits: u8) -> AnimationTickType
source§fn from_bits_truncate(bits: Self::Bits) -> Self
fn from_bits_truncate(bits: Self::Bits) -> Self
source§fn from_name(name: &str) -> Option<Self>
fn from_name(name: &str) -> Option<Self>
source§fn iter_names(&self) -> IterNames<Self>
fn iter_names(&self) -> IterNames<Self>
source§fn intersects(&self, other: Self) -> boolwhere
Self: Sized,
fn intersects(&self, other: Self) -> boolwhere
Self: Sized,
source§fn contains(&self, other: Self) -> boolwhere
Self: Sized,
fn contains(&self, other: Self) -> boolwhere
Self: Sized,
source§fn insert(&mut self, other: Self)where
Self: Sized,
fn insert(&mut self, other: Self)where
Self: Sized,
|
) of the bits in two flags values.source§fn remove(&mut self, other: Self)where
Self: Sized,
fn remove(&mut self, other: Self)where
Self: Sized,
&!
). Read moresource§fn toggle(&mut self, other: Self)where
Self: Sized,
fn toggle(&mut self, other: Self)where
Self: Sized,
^
) of the bits in two flags values.source§fn intersection(self, other: Self) -> Self
fn intersection(self, other: Self) -> Self
&
) of the bits in two flags values.source§fn difference(self, other: Self) -> Self
fn difference(self, other: Self) -> Self
&!
). Read moresource§fn symmetric_difference(self, other: Self) -> Self
fn symmetric_difference(self, other: Self) -> Self
^
) of the bits in two flags values.source§fn complement(self) -> Self
fn complement(self) -> Self
!
) of the bits in a flags value, truncating the result.source§impl FromIterator<AnimationTickType> for AnimationTickType
impl FromIterator<AnimationTickType> for AnimationTickType
source§fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self
fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self
The bitwise or (|
) of the bits in each flags value.
source§impl IntoIterator for AnimationTickType
impl IntoIterator for AnimationTickType
source§impl LowerHex for AnimationTickType
impl LowerHex for AnimationTickType
source§impl Not for AnimationTickType
impl Not for AnimationTickType
source§impl Octal for AnimationTickType
impl Octal for AnimationTickType
source§impl PublicFlags for AnimationTickType
impl PublicFlags for AnimationTickType
source§impl Serialize for AnimationTickType
impl Serialize for AnimationTickType
source§impl Sub<AnimationTickType> for AnimationTickType
impl Sub<AnimationTickType> for AnimationTickType
source§fn sub(self, other: Self) -> Self
fn sub(self, other: Self) -> Self
The intersection of a source flags value with the complement of a target flags value (&!
).
This method is not equivalent to self & !other
when other
has unknown bits set.
difference
won’t truncate other
, but the !
operator will.
§type Output = AnimationTickType
type Output = AnimationTickType
-
operator.source§impl SubAssign<AnimationTickType> for AnimationTickType
impl SubAssign<AnimationTickType> for AnimationTickType
source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
The intersection of a source flags value with the complement of a target flags value (&!
).
This method is not equivalent to self & !other
when other
has unknown bits set.
difference
won’t truncate other
, but the !
operator will.