Struct glib::SList [] [src]

pub struct SList<T> {
    // some fields omitted
}

Methods

impl<T> SList<T>

fn new() -> SList<T>

fn from_vec(values: Vec<T>) -> SList<T>

fn from_slice(values: &[T]) -> SList<T> where T: Clone

fn append(&mut self, data: T)

fn prepend(&mut self, data: T)

fn nth(&self, n: u32) -> &T

fn last(&self) -> &T

fn insert(&mut self, data: T, position: i32)

fn concat(&mut self, list: SList<T>)

fn reverse(&mut self)

fn iter(&self) -> SElem<T>

fn len(&self) -> usize

fn clear(&mut self)

fn extend<It: IntoIterator<Item=T>>(&mut self, it: It)

Trait Implementations

impl<T> Index<usize> for SList<T>

type Output = T

fn index<'a>(&'a self, _rhs: usize) -> &'a T

impl<T> FromIterator<T> for SList<T>

fn from_iter<It: IntoIterator<Item=T>>(it: It) -> SList<T>

impl<T> Clone for SList<T>

fn clone(&self) -> SList<T>

fn clone_from(&mut self, source: &Self)

impl<T> Drop for SList<T>

fn drop(&mut self)

impl<T> GlibContainer<*mut GSList> for SList<T>

fn wrap(pointer: *mut GSList) -> SList<T>

fn unwrap(&self) -> *mut GSList