Enum fuchsia_pkg::package_directory::OpenRights
source · pub enum OpenRights {
Read,
ReadExecute,
}
Expand description
Possible open rights when opening a file within a package.
Variants§
Trait Implementations§
source§impl Clone for OpenRights
impl Clone for OpenRights
source§fn clone(&self) -> OpenRights
fn clone(&self) -> OpenRights
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 moresource§impl Debug for OpenRights
impl Debug for OpenRights
source§impl PartialEq for OpenRights
impl PartialEq for OpenRights
source§fn eq(&self, other: &OpenRights) -> bool
fn eq(&self, other: &OpenRights) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OpenRights
impl StructuralEq for OpenRights
impl StructuralPartialEq for OpenRights
Auto Trait Implementations§
impl RefUnwindSafe for OpenRights
impl Send for OpenRights
impl Sync for OpenRights
impl Unpin for OpenRights
impl UnwindSafe for OpenRights
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