pub enum ExposeDecl {
Service(ExposeServiceDecl),
Protocol(ExposeProtocolDecl),
Directory(ExposeDirectoryDecl),
Runner(ExposeRunnerDecl),
Resolver(ExposeResolverDecl),
Dictionary(ExposeDictionaryDecl),
Config(ExposeConfigurationDecl),
}Variants§
Service(ExposeServiceDecl)
Protocol(ExposeProtocolDecl)
Directory(ExposeDirectoryDecl)
Runner(ExposeRunnerDecl)
Resolver(ExposeResolverDecl)
Dictionary(ExposeDictionaryDecl)
Config(ExposeConfigurationDecl)
Trait Implementations§
Source§impl Clone for ExposeDecl
impl Clone for ExposeDecl
Source§fn clone(&self) -> ExposeDecl
fn clone(&self) -> ExposeDecl
Returns a duplicate 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 ExposeDecl
impl Debug for ExposeDecl
Source§impl ExposeDeclCommon for ExposeDecl
impl ExposeDeclCommon for ExposeDecl
fn source(&self) -> &ExposeSource
fn target(&self) -> &ExposeTarget
fn target_name(&self) -> &Name
fn availability(&self) -> &Availability
Source§impl FidlIntoNative<ExposeDecl> for Expose
impl FidlIntoNative<ExposeDecl> for Expose
fn fidl_into_native(self) -> ExposeDecl
Source§impl From<&ExposeDecl> for CapabilityTypeName
impl From<&ExposeDecl> for CapabilityTypeName
Source§fn from(expose_decl: &ExposeDecl) -> Self
fn from(expose_decl: &ExposeDecl) -> Self
Converts to this type from the input type.
Source§impl From<ExposeConfigurationDecl> for ExposeDecl
impl From<ExposeConfigurationDecl> for ExposeDecl
Source§fn from(f: ExposeConfigurationDecl) -> Self
fn from(f: ExposeConfigurationDecl) -> Self
Converts to this type from the input type.
Source§impl From<ExposeDictionaryDecl> for ExposeDecl
impl From<ExposeDictionaryDecl> for ExposeDecl
Source§fn from(f: ExposeDictionaryDecl) -> Self
fn from(f: ExposeDictionaryDecl) -> Self
Converts to this type from the input type.
Source§impl From<ExposeDirectoryDecl> for ExposeDecl
impl From<ExposeDirectoryDecl> for ExposeDecl
Source§fn from(f: ExposeDirectoryDecl) -> Self
fn from(f: ExposeDirectoryDecl) -> Self
Converts to this type from the input type.
Source§impl From<ExposeProtocolDecl> for ExposeDecl
impl From<ExposeProtocolDecl> for ExposeDecl
Source§fn from(f: ExposeProtocolDecl) -> Self
fn from(f: ExposeProtocolDecl) -> Self
Converts to this type from the input type.
Source§impl From<ExposeResolverDecl> for ExposeDecl
impl From<ExposeResolverDecl> for ExposeDecl
Source§fn from(f: ExposeResolverDecl) -> Self
fn from(f: ExposeResolverDecl) -> Self
Converts to this type from the input type.
Source§impl From<ExposeRunnerDecl> for ExposeDecl
impl From<ExposeRunnerDecl> for ExposeDecl
Source§fn from(f: ExposeRunnerDecl) -> Self
fn from(f: ExposeRunnerDecl) -> Self
Converts to this type from the input type.
Source§impl From<ExposeServiceDecl> for ExposeDecl
impl From<ExposeServiceDecl> for ExposeDecl
Source§fn from(f: ExposeServiceDecl) -> Self
fn from(f: ExposeServiceDecl) -> Self
Converts to this type from the input type.
Source§impl FromEnum<ExposeDecl> for ExposeConfigurationDecl
impl FromEnum<ExposeDecl> for ExposeConfigurationDecl
fn from_enum(e: &ExposeDecl) -> Option<&Self>
Source§impl FromEnum<ExposeDecl> for ExposeDictionaryDecl
impl FromEnum<ExposeDecl> for ExposeDictionaryDecl
fn from_enum(e: &ExposeDecl) -> Option<&Self>
Source§impl FromEnum<ExposeDecl> for ExposeDirectoryDecl
impl FromEnum<ExposeDecl> for ExposeDirectoryDecl
fn from_enum(e: &ExposeDecl) -> Option<&Self>
Source§impl FromEnum<ExposeDecl> for ExposeProtocolDecl
impl FromEnum<ExposeDecl> for ExposeProtocolDecl
fn from_enum(e: &ExposeDecl) -> Option<&Self>
Source§impl FromEnum<ExposeDecl> for ExposeResolverDecl
impl FromEnum<ExposeDecl> for ExposeResolverDecl
fn from_enum(e: &ExposeDecl) -> Option<&Self>
Source§impl FromEnum<ExposeDecl> for ExposeRunnerDecl
impl FromEnum<ExposeDecl> for ExposeRunnerDecl
fn from_enum(e: &ExposeDecl) -> Option<&Self>
Source§impl FromEnum<ExposeDecl> for ExposeServiceDecl
impl FromEnum<ExposeDecl> for ExposeServiceDecl
fn from_enum(e: &ExposeDecl) -> Option<&Self>
Source§impl NativeIntoFidl<Expose> for ExposeDecl
impl NativeIntoFidl<Expose> for ExposeDecl
fn native_into_fidl(self) -> Expose
Source§impl PartialEq for ExposeDecl
impl PartialEq for ExposeDecl
Source§impl SourceName for ExposeDecl
impl SourceName for ExposeDecl
fn source_name(&self) -> &Name
Source§impl SourcePath for ExposeDecl
impl SourcePath for ExposeDecl
fn source_path(&self) -> BorrowedSeparatedPath<'_>
fn is_from_dictionary(&self) -> bool
impl Eq for ExposeDecl
impl StructuralPartialEq for ExposeDecl
Auto Trait Implementations§
impl Freeze for ExposeDecl
impl RefUnwindSafe for ExposeDecl
impl Send for ExposeDecl
impl Sync for ExposeDecl
impl Unpin for ExposeDecl
impl UnwindSafe for ExposeDecl
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more