pub struct GuildEventHandler(pub fn(&mut WSPayload, &mut WSGuildData) -> Result<()>);Tuple Fields§
§0: fn(&mut WSPayload, &mut WSGuildData) -> Result<()>Trait Implementations§
Source§impl Clone for GuildEventHandler
impl Clone for GuildEventHandler
Source§fn clone(&self) -> GuildEventHandler
fn clone(&self) -> GuildEventHandler
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GuildEventHandler
Auto Trait Implementations§
impl Freeze for GuildEventHandler
impl RefUnwindSafe for GuildEventHandler
impl Send for GuildEventHandler
impl Sync for GuildEventHandler
impl Unpin for GuildEventHandler
impl UnsafeUnpin for GuildEventHandler
impl UnwindSafe for GuildEventHandler
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