#[repr(C)]pub struct es_muted_path_t {
pub type_: es_mute_path_type_t,
pub event_count: size_t,
pub events: *const es_event_type_t,
pub path: es_string_token_t,
}Available on macOS only.
Expand description
Structure to describe attributes of a muted path
Fields§
§type_: es_mute_path_type_tIndicates if the path is a prefix or literal, and what type of muting applies
event_count: size_tThe number of events contained in the events array
events: *const es_event_type_tArray of event types for which the path is muted
path: es_string_token_tThe muted path. (Note: es_string_token_t is a char array and length)
Implementations§
Source§impl es_muted_path_t
impl es_muted_path_t
Sourcepub unsafe fn events(&self) -> &[es_event_type_t]
pub unsafe fn events(&self) -> &[es_event_type_t]
Uses event_count and events to give access to a slice view.
§Safety
The count and data should be in sync. If the count is not 0, the data should be a valid (aligned & non-null) pointer to initialized memory.
Auto Trait Implementations§
impl Freeze for es_muted_path_t
impl RefUnwindSafe for es_muted_path_t
impl !Send for es_muted_path_t
impl !Sync for es_muted_path_t
impl Unpin for es_muted_path_t
impl UnwindSafe for es_muted_path_t
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