[−][src]Struct weechat::buffer::NickSettings
Settings to create a new nick.
Implementations
impl<'a> NickSettings<'a>
[src]
pub fn new(name: &str) -> NickSettings<'_>
[src]
pub fn set_color(self, color: &'a str) -> NickSettings<'a>
[src]
pub fn set_prefix(self, prefix: &'a str) -> NickSettings<'a>
[src]
Set the prefix of the nick.
Arguments
prefix
- The prefix displayed before the nick in the nicklist.
pub fn set_prefix_color(self, prefix_color: &'a str) -> NickSettings<'a>
[src]
pub fn set_visible(self, visible: bool) -> NickSettings<'a>
[src]
Set the visibility of the nick.
Arguments
visible
- Should the nick be visible in the nicklist,true
if it should be visible, false otherwise. Defaults totrue
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for NickSettings<'a>
impl<'a> Send for NickSettings<'a>
impl<'a> Sync for NickSettings<'a>
impl<'a> Unpin for NickSettings<'a>
impl<'a> UnwindSafe for NickSettings<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,