[−][src]Struct weechat::infolist::Infolist
Weechat Infolist type.
Methods
impl Infolist
[src]
pub fn next(&self) -> bool
[src]
Move the "cursor" to the next item in an infolist.
pub fn prev(&self) -> bool
[src]
Move the "cursor" to the previous item in an infolist.
pub fn fields(&self) -> &str
[src]
Get the list of fields for current infolist item. Returns a string with the comma separated list of type/name tuple separated by a colon. The types are: "i" (integer), "s" (string), "p" (pointer), "b" (buffer), "t" (time). Example: "i:my_integer,s:my_string"
pub fn get_buffer(&self) -> Option<Buffer>
[src]
Get the buffer of the current infolist item. If the infolist item doesn't have a buffer None is returned.
pub fn get_string(&self, name: &str) -> &str
[src]
Get the value of a string variable in the current infolist item.
name
- The variable name of the infolist item. If the variable isn't found an empty string is returned.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,