pub struct UseCooldown {
pub seconds: Float,
pub cooldown_group: PrefixedOptional<Identifier>,
}Fields§
§seconds: Float§cooldown_group: PrefixedOptional<Identifier>Implementations§
Source§impl UseCooldown
impl UseCooldown
pub fn new(seconds: Float, cooldown_group: PrefixedOptional<Identifier>) -> Self
Trait Implementations§
Source§impl Clone for UseCooldown
impl Clone for UseCooldown
Source§fn clone(&self) -> UseCooldown
fn clone(&self) -> UseCooldown
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 UseCooldown
impl Debug for UseCooldown
Source§impl Field for UseCooldown
impl Field for UseCooldown
Auto Trait Implementations§
impl Freeze for UseCooldown
impl RefUnwindSafe for UseCooldown
impl Send for UseCooldown
impl Sync for UseCooldown
impl Unpin for UseCooldown
impl UnwindSafe for UseCooldown
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