Struct comfy_wgpu::notify::event::EventAttributes
pub struct EventAttributes { /* private fields */ }Expand description
Additional attributes of the event.
Implementations§
§impl EventAttributes
impl EventAttributes
pub fn new() -> EventAttributes
pub fn new() -> EventAttributes
Creates a new EventAttributes.
pub fn process_id(&self) -> Option<u32>
pub fn process_id(&self) -> Option<u32>
The process ID of the originator of the event.
This attribute is experimental and, while included in Notify itself, is not considered stable or standard enough to be part of the serde, eq, hash, and debug representations.
pub fn set_tracker(&mut self, tracker: usize)
pub fn set_tracker(&mut self, tracker: usize)
Sets the tracker.
pub fn set_process_id(&mut self, process_id: u32)
pub fn set_process_id(&mut self, process_id: u32)
Sets the process id onto the event.
Trait Implementations§
§impl Clone for EventAttributes
impl Clone for EventAttributes
§fn clone(&self) -> EventAttributes
fn clone(&self) -> EventAttributes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for EventAttributes
impl Debug for EventAttributes
§impl Default for EventAttributes
impl Default for EventAttributes
§fn default() -> EventAttributes
fn default() -> EventAttributes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for EventAttributes
impl Send for EventAttributes
impl Sync for EventAttributes
impl Unpin for EventAttributes
impl UnwindSafe for EventAttributes
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