#[repr(u8)]pub enum Effect {
None = 0,
Mono = 1,
Sepia = 2,
Negative = 3,
Negafilm = 4,
Sepia01 = 5,
}
Expand description
Special camera effects.
See Camera::set_effect()
to learn how to use this.
Variants§
None = 0
No effects.
Mono = 1
Mono effect.
Sepia = 2
Sepia effect.
Negative = 3
Negative effect.
Negafilm = 4
Negative film effect.
Sepia01 = 5
Sepia effect.
The difference between this and Sepia
is unknown.
Trait Implementations§
source§impl From<Effect> for CAMU_Effect
impl From<Effect> for CAMU_Effect
impl Copy for Effect
impl Eq for Effect
impl StructuralPartialEq for Effect
Auto Trait Implementations§
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnwindSafe for Effect
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more