Struct bilzaa2dutil::BaseCounter [−][src]
pub struct BaseCounter { /* fields omitted */ }Implementations
impl BaseCounter[src]
impl BaseCounter[src]pub fn new(
from_time: u128,
to_time: u128,
from: u128,
to: u128,
attr_to_animate: AttributesEnum
) -> Option<BaseCounter>[src]
from_time: u128,
to_time: u128,
from: u128,
to: u128,
attr_to_animate: AttributesEnum
) -> Option<BaseCounter>
pub fn is_time_valid(&self, time_ms: u128) -> Option<bool>[src]
pub fn time_lapsed(&self, time_ms: u128) -> u128[src]
Trait Implementations
impl Animatable for BaseCounter[src]
impl Animatable for BaseCounter[src]fn animate(&self, time_ms: u128) -> Option<AnimateResponses>[src]
fn get_attr_to_animate(&self) -> AttributesEnum[src]
impl Clone for BaseCounter[src]
impl Clone for BaseCounter[src]fn clone(&self) -> BaseCounter[src]
fn clone(&self) -> BaseCounter[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for BaseCounter[src]
impl Debug for BaseCounter[src]impl PartialEq<BaseCounter> for BaseCounter[src]
impl PartialEq<BaseCounter> for BaseCounter[src]fn eq(&self, other: &BaseCounter) -> bool[src]
fn eq(&self, other: &BaseCounter) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &BaseCounter) -> bool[src]
fn ne(&self, other: &BaseCounter) -> bool[src]This method tests for !=.
impl Copy for BaseCounter[src]
impl StructuralPartialEq for BaseCounter[src]
Auto Trait Implementations
impl RefUnwindSafe for BaseCounter
impl Send for BaseCounter
impl Sync for BaseCounter
impl Unpin for BaseCounter
impl UnwindSafe for BaseCounter
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more