Struct cm_rust::UseProtocolDecl
source · pub struct UseProtocolDecl {
pub source: UseSource,
pub source_name: Name,
pub target_path: Path,
pub dependency_type: DependencyType,
pub availability: Availability,
}
Fields§
§source: UseSource
§source_name: Name
§target_path: Path
§dependency_type: DependencyType
§availability: Availability
Trait Implementations§
source§impl Clone for UseProtocolDecl
impl Clone for UseProtocolDecl
source§fn clone(&self) -> UseProtocolDecl
fn clone(&self) -> UseProtocolDecl
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 UseProtocolDecl
impl Debug for UseProtocolDecl
source§impl FidlIntoNative<UseProtocolDecl> for UseProtocol
impl FidlIntoNative<UseProtocolDecl> for UseProtocol
fn fidl_into_native(self) -> UseProtocolDecl
source§impl From<UseProtocolDecl> for UseDecl
impl From<UseProtocolDecl> for UseDecl
source§fn from(f: UseProtocolDecl) -> Self
fn from(f: UseProtocolDecl) -> Self
Converts to this type from the input type.
source§impl NativeIntoFidl<UseProtocol> for UseProtocolDecl
impl NativeIntoFidl<UseProtocol> for UseProtocolDecl
fn native_into_fidl(self) -> UseProtocol
source§impl PartialEq for UseProtocolDecl
impl PartialEq for UseProtocolDecl
source§fn eq(&self, other: &UseProtocolDecl) -> bool
fn eq(&self, other: &UseProtocolDecl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SourceName for UseProtocolDecl
impl SourceName for UseProtocolDecl
fn source_name(&self) -> &Name
source§impl SourcePath for UseProtocolDecl
impl SourcePath for UseProtocolDecl
fn source_path(&self) -> BorrowedSeparatedPath<'_>
fn is_from_dictionary(&self) -> bool
source§impl UseDeclCommon for UseProtocolDecl
impl UseDeclCommon for UseProtocolDecl
fn source(&self) -> &UseSource
fn availability(&self) -> &Availability
impl Eq for UseProtocolDecl
impl StructuralPartialEq for UseProtocolDecl
Auto Trait Implementations§
impl Freeze for UseProtocolDecl
impl RefUnwindSafe for UseProtocolDecl
impl Send for UseProtocolDecl
impl Sync for UseProtocolDecl
impl Unpin for UseProtocolDecl
impl UnwindSafe for UseProtocolDecl
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