pub struct ChannelDef {
pub button: Btn,
pub max_frames: u16,
pub gauge_per_frame: i32,
}Expand description
Hold-to-channel definition (Raya consecrate). While the button stays held on the channel frame, the move does not advance and the gauge fills.
Fields§
§max_frames: u16§gauge_per_frame: i32Trait Implementations§
Source§impl Clone for ChannelDef
impl Clone for ChannelDef
Source§fn clone(&self) -> ChannelDef
fn clone(&self) -> ChannelDef
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 moreimpl Copy for ChannelDef
Source§impl Debug for ChannelDef
impl Debug for ChannelDef
impl Eq for ChannelDef
Source§impl Hash for ChannelDef
impl Hash for ChannelDef
Source§impl PartialEq for ChannelDef
impl PartialEq for ChannelDef
impl StructuralPartialEq for ChannelDef
Auto Trait Implementations§
impl Freeze for ChannelDef
impl RefUnwindSafe for ChannelDef
impl Send for ChannelDef
impl Sync for ChannelDef
impl Unpin for ChannelDef
impl UnsafeUnpin for ChannelDef
impl UnwindSafe for ChannelDef
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