pub struct MTFnMut<D = ()>(/* private fields */);
Expand description
An abstract type to represent FnMut functions.
Trait Implementations§
Source§impl<D: DataType> MethodType<D> for MTFnMut<D>
impl<D: DataType> MethodType<D> for MTFnMut<D>
Source§type GetProp = RefCell<dyn FnMut(&mut IterAppend<'_>, &PropInfo<'_, MTFnMut<D>, D>) -> Result<(), MethodErr>>
type GetProp = RefCell<dyn FnMut(&mut IterAppend<'_>, &PropInfo<'_, MTFnMut<D>, D>) -> Result<(), MethodErr>>
For internal use.
Source§type SetProp = RefCell<dyn FnMut(&mut Iter<'_>, &PropInfo<'_, MTFnMut<D>, D>) -> Result<(), MethodErr>>
type SetProp = RefCell<dyn FnMut(&mut Iter<'_>, &PropInfo<'_, MTFnMut<D>, D>) -> Result<(), MethodErr>>
For internal use.
Source§type Method = RefCell<dyn FnMut(&MethodInfo<'_, MTFnMut<D>, D>) -> Result<Vec<Message>, MethodErr>>
type Method = RefCell<dyn FnMut(&MethodInfo<'_, MTFnMut<D>, D>) -> Result<Vec<Message>, MethodErr>>
For internal use.
Source§fn call_getprop(
p: &Self::GetProp,
i: &mut IterAppend<'_>,
pinfo: &PropInfo<'_, Self, D>,
) -> Result<(), MethodErr>
fn call_getprop( p: &Self::GetProp, i: &mut IterAppend<'_>, pinfo: &PropInfo<'_, Self, D>, ) -> Result<(), MethodErr>
For internal use.
Source§fn call_setprop(
p: &Self::SetProp,
i: &mut Iter<'_>,
pinfo: &PropInfo<'_, Self, D>,
) -> Result<(), MethodErr>
fn call_setprop( p: &Self::SetProp, i: &mut Iter<'_>, pinfo: &PropInfo<'_, Self, D>, ) -> Result<(), MethodErr>
For internal use.
Source§fn call_method(
p: &Self::Method,
minfo: &MethodInfo<'_, Self, D>,
) -> MethodResult
fn call_method( p: &Self::Method, minfo: &MethodInfo<'_, Self, D>, ) -> MethodResult
For internal use.
Source§fn make_getprop<H>(h: H) -> Box<Self::GetProp>
fn make_getprop<H>(h: H) -> Box<Self::GetProp>
For internal use.
Source§fn make_method<H>(h: H) -> Box<Self::Method>
fn make_method<H>(h: H) -> Box<Self::Method>
For internal use.
impl<D: Copy> Copy for MTFnMut<D>
Auto Trait Implementations§
impl<D> Freeze for MTFnMut<D>
impl<D> RefUnwindSafe for MTFnMut<D>where
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,
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