pub struct EffectStyle {
pub blend: EffectBlend,
pub depth_test: Option<bool>,
pub depth_write: bool,
}Fields§
§blend: EffectBlend§depth_test: Option<bool>None follows the selected camera; false provides an overlay effect.
depth_write: boolTransparent effects normally test against opaque surfaces without writing.
Trait Implementations§
Source§impl Clone for EffectStyle
impl Clone for EffectStyle
Source§fn clone(&self) -> EffectStyle
fn clone(&self) -> EffectStyle
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 EffectStyle
impl Debug for EffectStyle
Source§impl Default for EffectStyle
impl Default for EffectStyle
Source§fn default() -> EffectStyle
fn default() -> EffectStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for EffectStyle
impl PartialEq for EffectStyle
impl Copy for EffectStyle
impl Eq for EffectStyle
impl StructuralPartialEq for EffectStyle
Auto Trait Implementations§
impl Freeze for EffectStyle
impl RefUnwindSafe for EffectStyle
impl Send for EffectStyle
impl Sync for EffectStyle
impl Unpin for EffectStyle
impl UnwindSafe for EffectStyle
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