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