pub enum UseDecl {
Service(UseServiceDecl),
Protocol(UseProtocolDecl),
Directory(UseDirectoryDecl),
Storage(UseStorageDecl),
EventStream(UseEventStreamDecl),
Runner(UseRunnerDecl),
Config(UseConfigurationDecl),
}
Variants§
Service(UseServiceDecl)
Protocol(UseProtocolDecl)
Directory(UseDirectoryDecl)
Storage(UseStorageDecl)
EventStream(UseEventStreamDecl)
Runner(UseRunnerDecl)
Config(UseConfigurationDecl)
Implementations§
Trait Implementations§
Source§impl FidlIntoNative<UseDecl> for Use
impl FidlIntoNative<UseDecl> for Use
fn fidl_into_native(self) -> UseDecl
Source§impl From<&UseDecl> for CapabilityTypeName
impl From<&UseDecl> for CapabilityTypeName
Source§impl From<UseConfigurationDecl> for UseDecl
impl From<UseConfigurationDecl> for UseDecl
Source§fn from(f: UseConfigurationDecl) -> Self
fn from(f: UseConfigurationDecl) -> Self
Converts to this type from the input type.
Source§impl From<UseDirectoryDecl> for UseDecl
impl From<UseDirectoryDecl> for UseDecl
Source§fn from(f: UseDirectoryDecl) -> Self
fn from(f: UseDirectoryDecl) -> Self
Converts to this type from the input type.
Source§impl From<UseEventStreamDecl> for UseDecl
impl From<UseEventStreamDecl> for UseDecl
Source§fn from(f: UseEventStreamDecl) -> Self
fn from(f: UseEventStreamDecl) -> Self
Converts to this type from the input type.
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 From<UseRunnerDecl> for UseDecl
impl From<UseRunnerDecl> for UseDecl
Source§fn from(f: UseRunnerDecl) -> Self
fn from(f: UseRunnerDecl) -> Self
Converts to this type from the input type.
Source§impl From<UseServiceDecl> for UseDecl
impl From<UseServiceDecl> for UseDecl
Source§fn from(f: UseServiceDecl) -> Self
fn from(f: UseServiceDecl) -> Self
Converts to this type from the input type.
Source§impl From<UseStorageDecl> for UseDecl
impl From<UseStorageDecl> for UseDecl
Source§fn from(f: UseStorageDecl) -> Self
fn from(f: UseStorageDecl) -> Self
Converts to this type from the input type.
Source§impl FromEnum<UseDecl> for UseConfigurationDecl
impl FromEnum<UseDecl> for UseConfigurationDecl
Source§impl FromEnum<UseDecl> for UseEventStreamDecl
impl FromEnum<UseDecl> for UseEventStreamDecl
Source§impl NativeIntoFidl<Use> for UseDecl
impl NativeIntoFidl<Use> for UseDecl
fn native_into_fidl(self) -> Use
Source§impl SourceName for UseDecl
impl SourceName for UseDecl
fn source_name(&self) -> &Name
Source§impl SourcePath for UseDecl
impl SourcePath for UseDecl
fn source_path(&self) -> BorrowedSeparatedPath<'_>
fn is_from_dictionary(&self) -> bool
Source§impl UseDeclCommon for UseDecl
impl UseDeclCommon for UseDecl
fn source(&self) -> &UseSource
fn availability(&self) -> &Availability
impl Eq for UseDecl
impl StructuralPartialEq for UseDecl
Auto Trait Implementations§
impl Freeze for UseDecl
impl RefUnwindSafe for UseDecl
impl Send for UseDecl
impl Sync for UseDecl
impl Unpin for UseDecl
impl UnwindSafe for UseDecl
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
)