[][src]Struct glib::ValueArray

pub struct ValueArray(_);

Methods

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
)
[src]

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
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.