pub struct MethodChannel { /* private fields */ }Implementations§
Source§impl MethodChannel
impl MethodChannel
pub fn new<H>(context: Context, channel: &str, handler: H) -> Selfwhere
H: MethodCallHandler,
Auto Trait Implementations§
impl Freeze for MethodChannel
impl !RefUnwindSafe for MethodChannel
impl !Send for MethodChannel
impl !Sync for MethodChannel
impl Unpin for MethodChannel
impl UnsafeUnpin for MethodChannel
impl !UnwindSafe for MethodChannel
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