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
Allows OverlayButton to be extended (e.g. for using project specific overlay buttons - settings, restart, context help).
Trait Implementations§
Source§impl Clone for OverlayButton
impl Clone for OverlayButton
Source§fn clone(&self) -> OverlayButton
fn clone(&self) -> OverlayButton
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 OverlayButton
impl Debug for OverlayButton
Source§impl PartialEq for OverlayButton
impl PartialEq for OverlayButton
impl Copy for OverlayButton
impl Eq for OverlayButton
impl StructuralPartialEq for OverlayButton
Auto Trait Implementations§
impl Freeze for OverlayButton
impl RefUnwindSafe for OverlayButton
impl Send for OverlayButton
impl Sync for OverlayButton
impl Unpin for OverlayButton
impl UnwindSafe for OverlayButton
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Fr, To> IntoColor<To> for Frwhere
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Frwhere
To: FromColor<Fr>,
Source§fn into_color(self) -> To
fn into_color(self) -> To
Convert into color