Struct libhealth::model::FnBoxedPoint
source · pub struct FnBoxedPoint(pub Rc<RefCell<Option<Box<dyn Fn(&Point) -> String>>>>);
Tuple Fields§
§0: Rc<RefCell<Option<Box<dyn Fn(&Point) -> String>>>>
Implementations§
Trait Implementations§
source§impl Clone for FnBoxedPoint
impl Clone for FnBoxedPoint
source§fn clone(&self) -> FnBoxedPoint
fn clone(&self) -> FnBoxedPoint
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<FnBoxedPoint> for Value
impl From<FnBoxedPoint> for Value
source§fn from(v: FnBoxedPoint) -> Self
fn from(v: FnBoxedPoint) -> Self
Converts to this type from the input type.
source§impl FromGlibPtrFull<*mut FnBoxedPoint> for FnBoxedPoint
impl FromGlibPtrFull<*mut FnBoxedPoint> for FnBoxedPoint
source§unsafe fn from_glib_full(ptr: *mut FnBoxedPoint) -> Self
unsafe fn from_glib_full(ptr: *mut FnBoxedPoint) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const FnBoxedPoint> for FnBoxedPoint
impl FromGlibPtrNone<*const FnBoxedPoint> for FnBoxedPoint
source§unsafe fn from_glib_none(ptr: *const FnBoxedPoint) -> Self
unsafe fn from_glib_none(ptr: *const FnBoxedPoint) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut FnBoxedPoint> for FnBoxedPoint
impl FromGlibPtrNone<*mut FnBoxedPoint> for FnBoxedPoint
source§unsafe fn from_glib_none(ptr: *mut FnBoxedPoint) -> Self
unsafe fn from_glib_none(ptr: *mut FnBoxedPoint) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a FnBoxedPoint
impl<'a> FromValue<'a> for &'a FnBoxedPoint
§type Checker = GenericValueTypeChecker<&'a FnBoxedPoint>
type Checker = GenericValueTypeChecker<&'a FnBoxedPoint>
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 FnBoxedPoint
impl<'a> FromValue<'a> for FnBoxedPoint
§type Checker = GenericValueTypeChecker<FnBoxedPoint>
type Checker = GenericValueTypeChecker<FnBoxedPoint>
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 FnBoxedPoint
impl HasParamSpec for FnBoxedPoint
type ParamSpec = ParamSpecBoxed
§type SetValue = FnBoxedPoint
type SetValue = FnBoxedPoint
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, FnBoxedPoint>
fn param_spec_builder() -> Self::BuilderFn
source§impl IntoGlibPtr<*mut FnBoxedPoint> for FnBoxedPoint
impl IntoGlibPtr<*mut FnBoxedPoint> for FnBoxedPoint
source§unsafe fn into_glib_ptr(self) -> *mut FnBoxedPoint
unsafe fn into_glib_ptr(self) -> *mut FnBoxedPoint
Transfer: full.
source§impl StaticType for FnBoxedPoint
impl StaticType for FnBoxedPoint
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibPtr<'a, *const FnBoxedPoint> for FnBoxedPoint
impl<'a> ToGlibPtr<'a, *const FnBoxedPoint> for FnBoxedPoint
type Storage = PhantomData<&'a FnBoxedPoint>
source§fn to_glib_none(&'a self) -> Stash<'a, *const FnBoxedPoint, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const FnBoxedPoint, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const FnBoxedPoint
fn to_glib_full(&self) -> *const FnBoxedPoint
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 FnBoxedPoint> for FnBoxedPoint
impl<'a> ToGlibPtr<'a, *mut FnBoxedPoint> for FnBoxedPoint
type Storage = PhantomData<&'a FnBoxedPoint>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut FnBoxedPoint, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut FnBoxedPoint, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut FnBoxedPoint
fn to_glib_full(&self) -> *mut FnBoxedPoint
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 FnBoxedPoint
impl ToValue for FnBoxedPoint
source§impl ValueType for FnBoxedPoint
impl ValueType for FnBoxedPoint
§type Type = FnBoxedPoint
type Type = FnBoxedPoint
Type to get the
Type
from. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for FnBoxedPoint
impl !Send for FnBoxedPoint
impl !Sync for FnBoxedPoint
impl Unpin for FnBoxedPoint
impl !UnwindSafe for FnBoxedPoint
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.