pub struct SBEvent {
pub raw: SBEventRef,
}Expand description
An event.
Fields§
§raw: SBEventRefThe underlying raw SBEventRef.
Implementations§
Source§impl SBEvent
impl SBEvent
pub fn new() -> SBEvent
pub fn data_flavor(&self) -> &str
pub fn event_type(&self) -> u32
pub fn broadcaster(&self) -> SBBroadcaster
pub fn broadcaster_class(&self) -> &str
pub fn broadcaster_matches_ref(&self, broadcaster: &SBBroadcaster) -> bool
Trait Implementations§
impl Send for SBEvent
impl Sync for SBEvent
Auto Trait Implementations§
impl Freeze for SBEvent
impl RefUnwindSafe for SBEvent
impl Unpin for SBEvent
impl UnwindSafe for SBEvent
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