pub struct LayerScene { /* private fields */ }Implementations§
Source§impl LayerScene
impl LayerScene
pub fn new() -> Self
pub fn push<L>(self, layer: L) -> Selfwhere
L: Layer + 'static,
pub fn layer<L>(self, layer: L) -> Selfwhere
L: Layer + 'static,
pub fn gradient(self, top: Color, bottom: Color) -> Self
pub fn mist(self, color: Color, density: usize) -> Self
pub fn halo(self, color: Color, radius: f32) -> Self
pub fn glass_waves( self, tint: Color, highlight: Color, config: GlassWaveConfig, ) -> Self
pub fn liquid_orbs(self, config: LiquidOrbConfig) -> Self
pub fn scanlines(self, color: Color) -> Self
pub fn vignette(self, color: Color) -> Self
Trait Implementations§
Source§impl Default for LayerScene
impl Default for LayerScene
Source§impl Scene for LayerScene
impl Scene for LayerScene
fn update(&mut self, ctx: &FrameContext)
fn draw(&self, ctx: &FrameContext)
Auto Trait Implementations§
impl Freeze for LayerScene
impl !RefUnwindSafe for LayerScene
impl !Send for LayerScene
impl !Sync for LayerScene
impl Unpin for LayerScene
impl UnsafeUnpin for LayerScene
impl !UnwindSafe for LayerScene
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