pub struct PluginBoxed(pub Box<dyn Plugin>);

Tuple Fields§

§0: Box<dyn Plugin>

Trait Implementations§

source§

impl BoxedType for PluginBoxed

source§

const NAME: &'static str = _

Boxed type name. Read more
source§

impl Clone for PluginBoxed

source§

fn clone(&self) -> PluginBoxed

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PluginBoxed

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<PluginBoxed> for Value

source§

fn from(v: PluginBoxed) -> Self

Converts to this type from the input type.
source§

impl FromGlibPtrFull<*mut PluginBoxed> for PluginBoxed

source§

unsafe fn from_glib_full(ptr: *mut PluginBoxed) -> Self

Safety Read more
source§

impl FromGlibPtrNone<*const PluginBoxed> for PluginBoxed

source§

impl FromGlibPtrNone<*mut PluginBoxed> for PluginBoxed

source§

unsafe fn from_glib_none(ptr: *mut PluginBoxed) -> Self

Safety Read more
source§

impl<'a> FromValue<'a> for &'a PluginBoxed

§

type Checker = GenericValueTypeChecker<&'a PluginBoxed>

Value type checker.
source§

unsafe fn from_value(value: &'a Value) -> Self

Get the contained value from a Value. Read more
source§

impl<'a> FromValue<'a> for PluginBoxed

§

type Checker = GenericValueTypeChecker<PluginBoxed>

Value type checker.
source§

unsafe fn from_value(value: &'a Value) -> Self

Get the contained value from a Value. Read more
source§

impl HasParamSpec for PluginBoxed

§

type ParamSpec = ParamSpecBoxed

§

type SetValue = PluginBoxed

Preferred value to be used as setter for the associated ParamSpec.
§

type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, PluginBoxed>

source§

fn param_spec_builder() -> Self::BuilderFn

source§

impl IntoGlibPtr<*mut PluginBoxed> for PluginBoxed

source§

unsafe fn into_glib_ptr(self) -> *mut PluginBoxed

Transfer: full.
source§

impl StaticType for PluginBoxed

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

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>

Transfer: none. Read more
source§

fn to_glib_full(&self) -> *const PluginBoxed

Transfer: full. Read more
source§

fn to_glib_container(&'a self) -> Stash<'a, P, Self>

Transfer: container. Read more
source§

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>

Transfer: none. Read more
source§

fn to_glib_full(&self) -> *mut PluginBoxed

Transfer: full. Read more
source§

fn to_glib_container(&'a self) -> Stash<'a, P, Self>

Transfer: container. Read more
source§

impl ToValue for PluginBoxed

source§

fn to_value(&self) -> Value

Convert a value to a Value.
source§

fn value_type(&self) -> Type

Returns the type identifer of self. Read more
source§

impl ValueType for PluginBoxed

§

type Type = PluginBoxed

Type to get the Type from. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoClosureReturnValue for Twhere T: Into<Value>,

source§

impl<T> Property for Twhere T: HasParamSpec,

§

type Value = T

source§

impl<T> PropertyGet for Twhere T: HasParamSpec,

§

type Value = T

source§

fn get<R, F>(&self, f: F) -> Rwhere F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> StaticTypeExt for Twhere T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T> TryFromClosureReturnValue for Twhere T: for<'a> FromValue<'a> + StaticType + 'static,

source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V