pub struct AwwwBackend;Expand description
Backend implementing dynamic wallpaper transitions on Wayland via awww.
Trait Implementations§
Source§impl WallpaperBackend for AwwwBackend
impl WallpaperBackend for AwwwBackend
Source§fn apply(images: &[FileInfo], config: &Config) -> WallSwitchResult<()>
fn apply(images: &[FileInfo], config: &Config) -> WallSwitchResult<()>
IMPURE FUNCTION: Executes the built commands.
It defaults to sequentially running
build_commands, but can be
overridden by compositors that require complex state checks
(e.g., Hyprland preloading, Swaybg daemon spawning).Source§fn build_commands(
_images: &[FileInfo],
_config: &Config,
) -> WallSwitchResult<Vec<Command>>
fn build_commands( _images: &[FileInfo], _config: &Config, ) -> WallSwitchResult<Vec<Command>>
PURE FUNCTION: Only constructs the required system commands.
Defaults to returning an empty vector if not overridden.
Auto Trait Implementations§
impl Freeze for AwwwBackend
impl RefUnwindSafe for AwwwBackend
impl Send for AwwwBackend
impl Sync for AwwwBackend
impl Unpin for AwwwBackend
impl UnsafeUnpin for AwwwBackend
impl UnwindSafe for AwwwBackend
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more