Struct swaynag::Swaynag [−][src]
pub struct Swaynag { /* fields omitted */ }
Implementations
impl Swaynag
[src]
impl Swaynag
[src]pub fn new(message: impl Into<Cow<'static, str>>) -> Self
[src]
pub fn terminal(&mut self, terminal: impl Into<Cow<'static, str>>) -> &mut Self
[src]
pub fn display_on_bottom_edge(&mut self) -> &mut Self
[src]
pub fn display_on_top_edge(&mut self) -> &mut Self
[src]
pub fn font(&mut self, font: impl Into<Cow<'static, str>>) -> &mut Self
[src]
pub fn message_type(
&mut self,
message_type: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
message_type: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn output(&mut self, output: impl Into<Cow<'static, str>>) -> &mut Self
[src]
pub fn background(
&mut self,
background: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
background: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn border(&mut self, border: impl Into<Cow<'static, str>>) -> &mut Self
[src]
pub fn border_bottom(
&mut self,
border_bottom: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
border_bottom: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn button_background(
&mut self,
button_background: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
button_background: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn text(&mut self, text: impl Into<Cow<'static, str>>) -> &mut Self
[src]
pub fn button_text(
&mut self,
button_text: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
button_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
[src]
&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
[src]
&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
[src]
&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
[src]
&mut self,
details_border_size: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn button_border_size(
&mut self,
button_border_size: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
button_border_size: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn button_gap(
&mut self,
button_gap: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
button_gap: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn button_dismiss_gap(
&mut self,
button_dismiss_gap: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
button_dismiss_gap: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn button_margin_right(
&mut self,
button_margin_right: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
button_margin_right: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn button_padding(
&mut self,
button_padding: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
button_padding: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn button(
&mut self,
text: impl Into<Cow<'static, str>>,
action: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
text: impl Into<Cow<'static, str>>,
action: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn button_no_terminal(
&mut self,
text: impl Into<Cow<'static, str>>,
action: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
text: impl Into<Cow<'static, str>>,
action: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn dismiss_button(
&mut self,
text: impl Into<Cow<'static, str>>,
action: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
text: impl Into<Cow<'static, str>>,
action: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn dismiss_button_no_terminal(
&mut self,
text: impl Into<Cow<'static, str>>,
action: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
text: impl Into<Cow<'static, str>>,
action: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn override_default_dismiss_button(
&mut self,
text: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
text: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn details_button(
&mut self,
text: impl Into<Cow<'static, str>>
) -> &mut Self
[src]
&mut self,
text: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn spawn(&self) -> Result<Child, Error>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Swaynag
impl RefUnwindSafe for Swaynag
impl UnwindSafe for Swaynag
impl UnwindSafe for Swaynag