pub struct ServiceDecl {
pub name: Name,
pub source_path: Option<Path>,
}
Fields§
§name: Name
§source_path: Option<Path>
Trait Implementations§
Source§impl Clone for ServiceDecl
impl Clone for ServiceDecl
Source§fn clone(&self) -> ServiceDecl
fn clone(&self) -> ServiceDecl
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 ServiceDecl
impl Debug for ServiceDecl
Source§impl FidlIntoNative<ServiceDecl> for Service
impl FidlIntoNative<ServiceDecl> for Service
fn fidl_into_native(self) -> ServiceDecl
Source§impl From<ServiceDecl> for CapabilityDecl
impl From<ServiceDecl> for CapabilityDecl
Source§fn from(f: ServiceDecl) -> Self
fn from(f: ServiceDecl) -> Self
Converts to this type from the input type.
Source§impl FromEnum<CapabilityDecl> for ServiceDecl
impl FromEnum<CapabilityDecl> for ServiceDecl
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
Source§impl NativeIntoFidl<Service> for ServiceDecl
impl NativeIntoFidl<Service> for ServiceDecl
fn native_into_fidl(self) -> Service
Source§impl PartialEq for ServiceDecl
impl PartialEq for ServiceDecl
impl Eq for ServiceDecl
impl StructuralPartialEq for ServiceDecl
Auto Trait Implementations§
impl Freeze for ServiceDecl
impl RefUnwindSafe for ServiceDecl
impl Send for ServiceDecl
impl Sync for ServiceDecl
impl Unpin for ServiceDecl
impl UnwindSafe for ServiceDecl
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§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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