pub struct AnimationIndex(/* private fields */);Implementations§
Source§impl AnimationIndex
impl AnimationIndex
pub fn new(val: usize) -> AnimationIndex
pub fn inherited(self, val: bool) -> AnimationIndex
pub fn set_inherited(&mut self, val: bool) -> &mut AnimationIndex
pub fn active(self, val: bool) -> AnimationIndex
pub fn index(&self) -> usize
pub fn is_inherited(&self) -> bool
pub fn is_active(&self) -> bool
Trait Implementations§
Source§impl Clone for AnimationIndex
impl Clone for AnimationIndex
Source§fn clone(&self) -> AnimationIndex
fn clone(&self) -> AnimationIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AnimationIndex
impl Default for AnimationIndex
Source§fn default() -> AnimationIndex
fn default() -> AnimationIndex
Returns the “default value” for a type. Read more
impl Copy for AnimationIndex
Auto Trait Implementations§
impl Freeze for AnimationIndex
impl RefUnwindSafe for AnimationIndex
impl Send for AnimationIndex
impl Sync for AnimationIndex
impl Unpin for AnimationIndex
impl UnsafeUnpin for AnimationIndex
impl UnwindSafe for AnimationIndex
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