pub struct SBEvent {
pub raw: SBEventRef,
}
Expand description
An event.
Fields
raw: SBEventRef
The underlying raw SBEventRef
.
Implementations
sourceimpl 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
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more