pub struct LutBlendDurations;Expand description
Standard blend durations for LUT transitions between game states.
Implementations§
Source§impl LutBlendDurations
impl LutBlendDurations
Sourcepub const BOSS_ENTRY: f32 = 0.5
pub const BOSS_ENTRY: f32 = 0.5
Boss encounter entry.
Sourcepub const CORRUPTION: f32 = 0.6
pub const CORRUPTION: f32 = 0.6
Corruption level changes.
Sourcepub const FLOOR_CHANGE: f32 = 0.5
pub const FLOOR_CHANGE: f32 = 0.5
Floor/room transition.
Sourcepub const CHAOS_RIFT: f32 = 0.4
pub const CHAOS_RIFT: f32 = 0.4
Chaos rift entry.
Auto Trait Implementations§
impl Freeze for LutBlendDurations
impl RefUnwindSafe for LutBlendDurations
impl Send for LutBlendDurations
impl Sync for LutBlendDurations
impl Unpin for LutBlendDurations
impl UnsafeUnpin for LutBlendDurations
impl UnwindSafe for LutBlendDurations
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.