Struct dbus::tree::MTFn [−][src]
pub struct MTFn<D = ()>(_);
An abstract type to represent Fn functions.
Trait Implementations
impl<D: Default> Default for MTFn<D>
[src]
impl<D: Default> Default for MTFn<D>
impl<D: Debug> Debug for MTFn<D>
[src]
impl<D: Debug> Debug for MTFn<D>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<D: Copy> Copy for MTFn<D>
[src]
impl<D: Copy> Copy for MTFn<D>
impl<D: Clone> Clone for MTFn<D>
[src]
impl<D: Clone> Clone for MTFn<D>
fn clone(&self) -> MTFn<D>
[src]
fn clone(&self) -> MTFn<D>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<D: DataType> MethodType<D> for MTFn<D>
[src]
impl<D: DataType> MethodType<D> for MTFn<D>
type GetProp = Fn(&mut IterAppend, &PropInfo<Self, D>) -> Result<(), MethodErr>
For internal use.
type SetProp = Fn(&mut Iter, &PropInfo<Self, D>) -> Result<(), MethodErr>
For internal use.
type Method = Fn(&MethodInfo<Self, D>) -> MethodResult
For internal use.
fn call_getprop(
p: &Self::GetProp,
i: &mut IterAppend,
pinfo: &PropInfo<Self, D>
) -> Result<(), MethodErr>
[src]
fn call_getprop(
p: &Self::GetProp,
i: &mut IterAppend,
pinfo: &PropInfo<Self, D>
) -> Result<(), MethodErr>
For internal use.
fn call_setprop(
p: &Self::SetProp,
i: &mut Iter,
pinfo: &PropInfo<Self, D>
) -> Result<(), MethodErr>
[src]
fn call_setprop(
p: &Self::SetProp,
i: &mut Iter,
pinfo: &PropInfo<Self, D>
) -> Result<(), MethodErr>
For internal use.
fn call_method(p: &Self::Method, minfo: &MethodInfo<Self, D>) -> MethodResult
[src]
fn call_method(p: &Self::Method, minfo: &MethodInfo<Self, D>) -> MethodResult
For internal use.
ⓘImportant traits for Box<R>fn make_getprop<H>(h: H) -> Box<Self::GetProp> where
H: Fn(&mut IterAppend, &PropInfo<Self, D>) -> Result<(), MethodErr> + Send + Sync + 'static,
[src]
ⓘImportant traits for Box<R>
fn make_getprop<H>(h: H) -> Box<Self::GetProp> where
H: Fn(&mut IterAppend, &PropInfo<Self, D>) -> Result<(), MethodErr> + Send + Sync + 'static,
For internal use.
ⓘImportant traits for Box<R>fn make_method<H>(h: H) -> Box<Self::Method> where
H: Fn(&MethodInfo<Self, D>) -> MethodResult + Send + Sync + 'static,
[src]
ⓘImportant traits for Box<R>
fn make_method<H>(h: H) -> Box<Self::Method> where
H: Fn(&MethodInfo<Self, D>) -> MethodResult + Send + Sync + 'static,
For internal use.