Struct veloren_common::comp::character_state::DurationsInfo
source · pub struct DurationsInfo {
pub buildup: Option<Duration>,
pub action: Option<Duration>,
pub recover: Option<Duration>,
pub movement: Option<Duration>,
pub charge: Option<Duration>,
}
Fields§
§buildup: Option<Duration>
§action: Option<Duration>
§recover: Option<Duration>
§movement: Option<Duration>
§charge: Option<Duration>
Trait Implementations§
source§impl Clone for DurationsInfo
impl Clone for DurationsInfo
source§fn clone(&self) -> DurationsInfo
fn clone(&self) -> DurationsInfo
Returns a copy 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 Default for DurationsInfo
impl Default for DurationsInfo
source§fn default() -> DurationsInfo
fn default() -> DurationsInfo
Returns the “default value” for a type. Read more
impl Copy for DurationsInfo
Auto Trait Implementations§
impl RefUnwindSafe for DurationsInfo
impl Send for DurationsInfo
impl Sync for DurationsInfo
impl Unpin for DurationsInfo
impl UnwindSafe for DurationsInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<Context> SubContext<Context> for Context
impl<Context> SubContext<Context> for Context
fn sub_context(self) -> Context
§impl<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default
and panics on an error case.