Struct libhealth::model::FnBoxedTuple
source · pub struct FnBoxedTuple(pub Rc<RefCell<Option<Box<dyn Fn(&Tuple) -> String>>>>);
Tuple Fields§
§0: Rc<RefCell<Option<Box<dyn Fn(&Tuple) -> String>>>>
Implementations§
Trait Implementations§
source§impl Clone for FnBoxedTuple
impl Clone for FnBoxedTuple
source§fn clone(&self) -> FnBoxedTuple
fn clone(&self) -> FnBoxedTuple
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<FnBoxedTuple> for Value
impl From<FnBoxedTuple> for Value
source§fn from(v: FnBoxedTuple) -> Self
fn from(v: FnBoxedTuple) -> Self
Converts to this type from the input type.
source§impl FromGlibPtrFull<*mut FnBoxedTuple> for FnBoxedTuple
impl FromGlibPtrFull<*mut FnBoxedTuple> for FnBoxedTuple
source§unsafe fn from_glib_full(ptr: *mut FnBoxedTuple) -> Self
unsafe fn from_glib_full(ptr: *mut FnBoxedTuple) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const FnBoxedTuple> for FnBoxedTuple
impl FromGlibPtrNone<*const FnBoxedTuple> for FnBoxedTuple
source§unsafe fn from_glib_none(ptr: *const FnBoxedTuple) -> Self
unsafe fn from_glib_none(ptr: *const FnBoxedTuple) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut FnBoxedTuple> for FnBoxedTuple
impl FromGlibPtrNone<*mut FnBoxedTuple> for FnBoxedTuple
source§unsafe fn from_glib_none(ptr: *mut FnBoxedTuple) -> Self
unsafe fn from_glib_none(ptr: *mut FnBoxedTuple) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a FnBoxedTuple
impl<'a> FromValue<'a> for &'a FnBoxedTuple
§type Checker = GenericValueTypeChecker<&'a FnBoxedTuple>
type Checker = GenericValueTypeChecker<&'a FnBoxedTuple>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for FnBoxedTuple
impl<'a> FromValue<'a> for FnBoxedTuple
§type Checker = GenericValueTypeChecker<FnBoxedTuple>
type Checker = GenericValueTypeChecker<FnBoxedTuple>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl HasParamSpec for FnBoxedTuple
impl HasParamSpec for FnBoxedTuple
type ParamSpec = ParamSpecBoxed
§type SetValue = FnBoxedTuple
type SetValue = FnBoxedTuple
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, FnBoxedTuple>
fn param_spec_builder() -> Self::BuilderFn
source§impl IntoGlibPtr<*mut FnBoxedTuple> for FnBoxedTuple
impl IntoGlibPtr<*mut FnBoxedTuple> for FnBoxedTuple
source§unsafe fn into_glib_ptr(self) -> *mut FnBoxedTuple
unsafe fn into_glib_ptr(self) -> *mut FnBoxedTuple
Transfer: full.
source§impl StaticType for FnBoxedTuple
impl StaticType for FnBoxedTuple
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibPtr<'a, *const FnBoxedTuple> for FnBoxedTuple
impl<'a> ToGlibPtr<'a, *const FnBoxedTuple> for FnBoxedTuple
type Storage = PhantomData<&'a FnBoxedTuple>
source§fn to_glib_none(&'a self) -> Stash<'a, *const FnBoxedTuple, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const FnBoxedTuple, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const FnBoxedTuple
fn to_glib_full(&self) -> *const FnBoxedTuple
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut FnBoxedTuple> for FnBoxedTuple
impl<'a> ToGlibPtr<'a, *mut FnBoxedTuple> for FnBoxedTuple
type Storage = PhantomData<&'a FnBoxedTuple>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut FnBoxedTuple, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut FnBoxedTuple, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut FnBoxedTuple
fn to_glib_full(&self) -> *mut FnBoxedTuple
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl ToValue for FnBoxedTuple
impl ToValue for FnBoxedTuple
source§impl ValueType for FnBoxedTuple
impl ValueType for FnBoxedTuple
§type Type = FnBoxedTuple
type Type = FnBoxedTuple
Type to get the
Type
from. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for FnBoxedTuple
impl !Send for FnBoxedTuple
impl !Sync for FnBoxedTuple
impl Unpin for FnBoxedTuple
impl !UnwindSafe for FnBoxedTuple
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.