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§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
)