pub struct Aisling<W> { /* private fields */ }Expand description
Wraps any Scrin widget with an Aisling post-render effect.
Implementations§
Source§impl<W> Aisling<W>
impl<W> Aisling<W>
Sourcepub fn effect(self, effect: AislingEffect) -> Self
pub fn effect(self, effect: AislingEffect) -> Self
Replaces the effect used by the wrapper.
Sourcepub fn palette(self, palette: AislingPalette) -> Self
pub fn palette(self, palette: AislingPalette) -> Self
Sets the palette.
Trait Implementations§
impl<W: Eq> Eq for Aisling<W>
Source§impl<W: PartialEq> PartialEq for Aisling<W>
impl<W: PartialEq> PartialEq for Aisling<W>
impl<W: PartialEq> StructuralPartialEq for Aisling<W>
Auto Trait Implementations§
impl<W> Freeze for Aisling<W>where
W: Freeze,
impl<W> RefUnwindSafe for Aisling<W>where
W: RefUnwindSafe,
impl<W> Send for Aisling<W>where
W: Send,
impl<W> Sync for Aisling<W>where
W: Sync,
impl<W> Unpin for Aisling<W>where
W: Unpin,
impl<W> UnsafeUnpin for Aisling<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for Aisling<W>where
W: UnwindSafe,
Blanket Implementations§
Source§impl<W> AislingExt for Wwhere
W: Widget,
impl<W> AislingExt for Wwhere
W: Widget,
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