Struct cm_rust::DirectoryDecl
source · pub struct DirectoryDecl {
pub name: Name,
pub source_path: Option<Path>,
pub rights: Operations,
}
Fields§
§name: Name
§source_path: Option<Path>
§rights: Operations
Trait Implementations§
source§impl Clone for DirectoryDecl
impl Clone for DirectoryDecl
source§fn clone(&self) -> DirectoryDecl
fn clone(&self) -> DirectoryDecl
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 DirectoryDecl
impl Debug for DirectoryDecl
source§impl FidlIntoNative<DirectoryDecl> for Directory
impl FidlIntoNative<DirectoryDecl> for Directory
fn fidl_into_native(self) -> DirectoryDecl
source§impl From<DirectoryDecl> for CapabilityDecl
impl From<DirectoryDecl> for CapabilityDecl
source§fn from(f: DirectoryDecl) -> Self
fn from(f: DirectoryDecl) -> Self
Converts to this type from the input type.
source§impl FromEnum<CapabilityDecl> for DirectoryDecl
impl FromEnum<CapabilityDecl> for DirectoryDecl
source§impl NativeIntoFidl<Directory> for DirectoryDecl
impl NativeIntoFidl<Directory> for DirectoryDecl
fn native_into_fidl(self) -> Directory
source§impl PartialEq for DirectoryDecl
impl PartialEq for DirectoryDecl
source§fn eq(&self, other: &DirectoryDecl) -> bool
fn eq(&self, other: &DirectoryDecl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DirectoryDecl
impl StructuralPartialEq for DirectoryDecl
Auto Trait Implementations§
impl RefUnwindSafe for DirectoryDecl
impl Send for DirectoryDecl
impl Sync for DirectoryDecl
impl Unpin for DirectoryDecl
impl UnwindSafe for DirectoryDecl
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