Enum hexchat_plugin::InfoId [−][src]
pub enum InfoId<'a> {}Show variants
Away, Channel, Charset, Configdir, EventText(&'a str), Host, Inputbox, Libdirfs, Modes, Network, Nick, Nickserv, Server, Topic, Version, WinStatus,
Expand description
A hexchat_get_info key.
Variants
Expand description
Returns the away message, or None
if the user is not away.
Expand description
Returns the current channel name.
Expand description
Returns the current charset.
Expand description
Returns the hexchat configuration directory, e.g. /home/user/.config/hexchat
.
EventText(&'a str)
Expand description
Returns the text event format string for the given text event name.
Expand description
Returns the (real) hostname of the current server.
Expand description
Returns the contents of the input box.
Expand description
Returns the library directory, e.g. /usr/lib/hexchat
.
May not always work, as this string isn’t necessarily UTF-8, but local file system encoding.
Expand description
Returns the channel modes, if known, or None
.
Expand description
Returns the current network name, or None
.
Expand description
Returns the user’s current nick.
Expand description
Returns the user’s nickserv password, if any, or None
Expand description
Returns the current server name, or None
if you are not connected.
Expand description
Returns the current channel topic.
Expand description
Returns the HexChat version string.
Expand description
Returns the window status: “active”, “hidden” or “normal”.
Implementations
Trait Implementations
impl<'a> Ord for InfoId<'a>
[src]
impl<'a> Ord for InfoId<'a>
[src]impl<'a> PartialOrd<InfoId<'a>> for InfoId<'a>
[src]
impl<'a> PartialOrd<InfoId<'a>> for InfoId<'a>
[src]fn partial_cmp(&self, other: &InfoId<'a>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &InfoId<'a>) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<'a> Copy for InfoId<'a>
[src]
impl<'a> Eq for InfoId<'a>
[src]
impl<'a> StructuralEq for InfoId<'a>
[src]
impl<'a> StructuralPartialEq for InfoId<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for InfoId<'a>
impl<'a> Send for InfoId<'a>
impl<'a> Sync for InfoId<'a>
impl<'a> Unpin for InfoId<'a>
impl<'a> UnwindSafe for InfoId<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more