pub struct AnimationTransition<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> AnimationTransition<'a>
impl<'a> AnimationTransition<'a>
pub const VT_NODE_ID: VOffsetT = 4
pub const VT_NAME: VOffsetT = 6
pub const VT_TARGET_NODE_ID: VOffsetT = 8
pub const VT_TRIGGER_STATE_MACHINE: VOffsetT = 10
pub const VT_TRIGGER_EVENT: VOffsetT = 12
pub const VT_PROPERTIES: VOffsetT = 14
pub const VT_DURATION: VOffsetT = 16
pub const VT_DELAY: VOffsetT = 18
pub const VT_EASING: VOffsetT = 20
pub const VT_REDUCED_MOTION: VOffsetT = 22
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args AnimationTransitionArgs<'args>, ) -> WIPOffset<AnimationTransition<'bldr>>
pub fn node_id(&self) -> &'a str
pub fn name(&self) -> Option<&'a str>
Sourcepub fn target_node_id(&self) -> &'a str
pub fn target_node_id(&self) -> &'a str
Target node to animate.
Sourcepub fn trigger_state_machine(&self) -> Option<&'a str>
pub fn trigger_state_machine(&self) -> Option<&'a str>
Which state machine transition triggers this animation.
pub fn trigger_event(&self) -> Option<&'a str>
Sourcepub fn properties(&self) -> Vector<'a, ForwardsUOffset<AnimatedProperty<'a>>>
pub fn properties(&self) -> Vector<'a, ForwardsUOffset<AnimatedProperty<'a>>>
Properties to animate.
pub fn delay(&self) -> Option<Duration<'a>>
pub fn easing(&self) -> Option<Easing<'a>>
Sourcepub fn reduced_motion(&self) -> Option<ReducedMotion<'a>>
pub fn reduced_motion(&self) -> Option<ReducedMotion<'a>>
Reduced motion alternative (required by validator).
Trait Implementations§
Source§impl<'a> Clone for AnimationTransition<'a>
impl<'a> Clone for AnimationTransition<'a>
Source§fn clone(&self) -> AnimationTransition<'a>
fn clone(&self) -> AnimationTransition<'a>
Returns a duplicate 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 AnimationTransition<'_>
impl Debug for AnimationTransition<'_>
Source§impl<'a> Follow<'a> for AnimationTransition<'a>
impl<'a> Follow<'a> for AnimationTransition<'a>
Source§impl<'a> PartialEq for AnimationTransition<'a>
impl<'a> PartialEq for AnimationTransition<'a>
Source§impl Verifiable for AnimationTransition<'_>
impl Verifiable for AnimationTransition<'_>
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for AnimationTransition<'a>
impl<'a> StructuralPartialEq for AnimationTransition<'a>
Auto Trait Implementations§
impl<'a> Freeze for AnimationTransition<'a>
impl<'a> RefUnwindSafe for AnimationTransition<'a>
impl<'a> Send for AnimationTransition<'a>
impl<'a> Sync for AnimationTransition<'a>
impl<'a> Unpin for AnimationTransition<'a>
impl<'a> UnsafeUnpin for AnimationTransition<'a>
impl<'a> UnwindSafe for AnimationTransition<'a>
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