Enum primitives::prelude::OverlayButton
source · [−]pub enum OverlayButton {
Back,
Mute,
Unmute,
Pause,
Unpause,
Custom {
value: u32,
},
}
Expand description
Representing the control buttons on the Overlay
.
Variants
Back
Back overlay button
Mute
Mute overlay button
Unmute
UnMute overlay button
Pause
Pause overlay button
Unpause
Unpause overlay button
Custom
Fields
value: u32
Custom value
Allows OverlayButton to be extended (e.g. for using project specific overlay buttons - settings, restart, context help).
Trait Implementations
sourceimpl Clone for OverlayButton
impl Clone for OverlayButton
sourcefn clone(&self) -> OverlayButton
fn clone(&self) -> OverlayButton
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OverlayButton
impl Debug for OverlayButton
sourceimpl PartialEq<OverlayButton> for OverlayButton
impl PartialEq<OverlayButton> for OverlayButton
sourcefn eq(&self, other: &OverlayButton) -> bool
fn eq(&self, other: &OverlayButton) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OverlayButton) -> bool
fn ne(&self, other: &OverlayButton) -> bool
This method tests for !=
.
impl Copy for OverlayButton
impl Eq for OverlayButton
impl StructuralEq for OverlayButton
impl StructuralPartialEq for OverlayButton
Auto Trait Implementations
impl RefUnwindSafe for OverlayButton
impl Send for OverlayButton
impl Sync for OverlayButton
impl Unpin for OverlayButton
impl UnwindSafe for OverlayButton
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more