Struct glib::value::AnySendValue
source · pub struct AnySendValue(_);
Expand description
A container type that allows storing any 'static
type that implements Any
, Clone
and
Send
to be stored in a Value
or SendValue
.
See the module documentation for more details and the
AnyValue
for a code example.
Implementations
Trait Implementations
sourceimpl Clone for AnySendValue
impl Clone for AnySendValue
sourcefn clone(&self) -> AnySendValue
fn clone(&self) -> AnySendValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AnySendValue
impl Debug for AnySendValue
sourceimpl Deref for AnySendValue
impl Deref for AnySendValue
sourceimpl<'a> FromValueOptional<'a> for &'a AnySendValue
impl<'a> FromValueOptional<'a> for &'a AnySendValue
unsafe fn from_value_optional(value: &'a Value) -> Option<Self>
sourceimpl StaticType for AnySendValue
impl StaticType for AnySendValue
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Send for AnySendValue
Auto Trait Implementations
impl !RefUnwindSafe for AnySendValue
impl !Sync for AnySendValue
impl Unpin for AnySendValue
impl !UnwindSafe for AnySendValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: SetValue + Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.