[−][src]Struct dbus_tree::MTFnMut
An abstract type to represent FnMut functions.
Trait Implementations
impl<D: Clone> Clone for MTFnMut<D>
[src]
impl<D: Copy> Copy for MTFnMut<D>
[src]
impl<D: Debug> Debug for MTFnMut<D>
[src]
impl<D: Default> Default for MTFnMut<D>
[src]
impl<D: DataType> MethodType<D> for MTFnMut<D>
[src]
type GetProp = RefCell<dyn FnMut(&mut IterAppend<'_>, &PropInfo<'_, Self, D>) -> Result<(), MethodErr>>
For internal use.
type SetProp = RefCell<dyn FnMut(&mut Iter<'_>, &PropInfo<'_, Self, D>) -> Result<(), MethodErr>>
For internal use.
type Method = RefCell<dyn FnMut(&MethodInfo<'_, Self, D>) -> MethodResult>
For internal use.
fn call_getprop(
p: &Self::GetProp,
i: &mut IterAppend<'_>,
pinfo: &PropInfo<'_, Self, D>
) -> Result<(), MethodErr>
[src]
p: &Self::GetProp,
i: &mut IterAppend<'_>,
pinfo: &PropInfo<'_, Self, D>
) -> Result<(), MethodErr>
fn call_setprop(
p: &Self::SetProp,
i: &mut Iter<'_>,
pinfo: &PropInfo<'_, Self, D>
) -> Result<(), MethodErr>
[src]
p: &Self::SetProp,
i: &mut Iter<'_>,
pinfo: &PropInfo<'_, Self, D>
) -> Result<(), MethodErr>
fn call_method(
p: &Self::Method,
minfo: &MethodInfo<'_, Self, D>
) -> MethodResult
[src]
p: &Self::Method,
minfo: &MethodInfo<'_, Self, D>
) -> MethodResult
fn make_getprop<H>(h: H) -> Box<Self::GetProp> where
H: Fn(&mut IterAppend<'_>, &PropInfo<'_, Self, D>) -> Result<(), MethodErr> + Send + Sync + 'static,
[src]
H: Fn(&mut IterAppend<'_>, &PropInfo<'_, Self, D>) -> Result<(), MethodErr> + Send + Sync + 'static,
fn make_method<H>(h: H) -> Box<Self::Method> where
H: Fn(&MethodInfo<'_, Self, D>) -> MethodResult + Send + Sync + 'static,
[src]
H: Fn(&MethodInfo<'_, Self, D>) -> MethodResult + Send + Sync + 'static,
Auto Trait Implementations
impl<D> RefUnwindSafe for MTFnMut<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
impl<D = ()> !Send for MTFnMut<D>
impl<D = ()> !Sync for MTFnMut<D>
impl<D> Unpin for MTFnMut<D>
impl<D> UnwindSafe for MTFnMut<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,