pub struct UseProtocolDecl {
pub source: UseSource,
pub source_name: Name,
pub source_dictionary: RelativePath,
pub target_path: Path,
pub dependency_type: DependencyType,
pub availability: Availability,
}
Fields§
§source: UseSource
§source_name: Name
§source_dictionary: RelativePath
§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§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)