[−][src]Struct glib::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]
&mut self,
compare_func: F
)
Trait Implementations
impl Clone for ValueArray
[src]
fn clone(&self) -> ValueArray
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ValueArray
[src]
impl Deref for ValueArray
[src]
impl DerefMut for ValueArray
[src]
impl StaticType for ValueArray
[src]
fn static_type() -> Type
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,