#[repr(C)]pub struct es_muted_paths_t {
pub count: size_t,
pub paths: *const es_muted_path_t,
}Available on macOS only.
Expand description
Structure for a set of muted paths
Fields§
§count: size_tNumber of elements in the paths array
paths: *const es_muted_path_tArray of muted paths
Implementations§
Source§impl es_muted_paths_t
impl es_muted_paths_t
Sourcepub unsafe fn paths(&self) -> &[es_muted_path_t]
pub unsafe fn paths(&self) -> &[es_muted_path_t]
Uses count and paths 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_paths_t
impl RefUnwindSafe for es_muted_paths_t
impl !Send for es_muted_paths_t
impl !Sync for es_muted_paths_t
impl Unpin for es_muted_paths_t
impl UnwindSafe for es_muted_paths_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