[][src]Struct glib::ValueArray

pub struct ValueArray(_);


impl ValueArray[src]

pub fn new(n_prealloced: u32) -> ValueArray[src]

pub fn append(&mut self, value: &Value)[src]

pub fn get_nth(&self, index_: u32) -> Option<Value>[src]

pub fn insert(&mut self, index_: u32, value: &Value)[src]

pub fn prepend(&mut self, value: &Value)[src]

pub fn remove(&mut self, index_: u32)[src]

pub fn sort_with_data<F: FnMut(&Value, &Value) -> Ordering>(
    &mut self,
    compare_func: F

Trait Implementations

impl Clone for ValueArray[src]

impl Debug for ValueArray[src]

impl Deref for ValueArray[src]

type Target = [Value]

The resulting type after dereferencing.

impl DerefMut for ValueArray[src]

impl StaticType for ValueArray[src]

Auto Trait Implementations

impl RefUnwindSafe for ValueArray

impl !Send for ValueArray

impl !Sync for ValueArray

impl Unpin for ValueArray

impl UnwindSafe for ValueArray

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.