#[non_exhaustive]pub enum BgaLayer {
Base,
Poor,
Overlay,
}
Expand description
A layer where the image for BGA to be displayed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Base
The lowest layer.
Poor
Layer which is displayed only if a player missed to play notes.
Overlay
An overlaying layer.
Trait Implementations§
source§impl PartialEq for BgaLayer
impl PartialEq for BgaLayer
impl Copy for BgaLayer
impl Eq for BgaLayer
impl StructuralEq for BgaLayer
impl StructuralPartialEq for BgaLayer
Auto Trait Implementations§
impl RefUnwindSafe for BgaLayer
impl Send for BgaLayer
impl Sync for BgaLayer
impl Unpin for BgaLayer
impl UnwindSafe for BgaLayer
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