pub struct Swaynag { /* private fields */ }
Implementations§
Source§impl Swaynag
impl Swaynag
pub fn new(message: impl Into<Cow<'static, str>>) -> Self
pub fn terminal(&mut self, terminal: impl Into<Cow<'static, str>>) -> &mut Self
pub fn display_on_bottom_edge(&mut self) -> &mut Self
pub fn display_on_top_edge(&mut self) -> &mut Self
pub fn font(&mut self, font: impl Into<Cow<'static, str>>) -> &mut Self
pub fn message_type( &mut self, message_type: impl Into<Cow<'static, str>>, ) -> &mut Self
pub fn output(&mut self, output: impl Into<Cow<'static, str>>) -> &mut Self
pub fn background( &mut self, background: impl Into<Cow<'static, str>>, ) -> &mut Self
pub fn border(&mut self, border: impl Into<Cow<'static, str>>) -> &mut Self
pub fn border_bottom( &mut self, border_bottom: impl Into<Cow<'static, str>>, ) -> &mut Self
pub fn text(&mut self, text: impl Into<Cow<'static, str>>) -> &mut Self
pub fn border_bottom_size( &mut self, border_bottom_size: impl Into<Cow<'static, str>>, ) -> &mut Self
pub fn message_padding( &mut self, message_padding: impl Into<Cow<'static, str>>, ) -> &mut Self
pub fn details_background( &mut self, details_background: impl Into<Cow<'static, str>>, ) -> &mut Self
pub fn details_border_size( &mut self, details_border_size: impl Into<Cow<'static, str>>, ) -> &mut Self
pub fn spawn(&self) -> Result<Child, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Swaynag
impl RefUnwindSafe for Swaynag
impl Send for Swaynag
impl Sync for Swaynag
impl Unpin for Swaynag
impl UnwindSafe for Swaynag
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