pub struct UseServiceDecl {
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: AvailabilityTrait Implementations§
Source§impl Clone for UseServiceDecl
impl Clone for UseServiceDecl
Source§fn clone(&self) -> UseServiceDecl
fn clone(&self) -> UseServiceDecl
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 UseServiceDecl
impl Debug for UseServiceDecl
Source§impl FidlIntoNative<UseServiceDecl> for UseService
impl FidlIntoNative<UseServiceDecl> for UseService
fn fidl_into_native(self) -> UseServiceDecl
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 NativeIntoFidl<UseService> for UseServiceDecl
impl NativeIntoFidl<UseService> for UseServiceDecl
fn native_into_fidl(self) -> UseService
Source§impl PartialEq for UseServiceDecl
impl PartialEq for UseServiceDecl
Source§impl SourceName for UseServiceDecl
impl SourceName for UseServiceDecl
fn source_name(&self) -> &Name
Source§impl SourcePath for UseServiceDecl
impl SourcePath for UseServiceDecl
fn source_path(&self) -> BorrowedSeparatedPath<'_>
fn is_from_dictionary(&self) -> bool
Source§impl UseDeclCommon for UseServiceDecl
impl UseDeclCommon for UseServiceDecl
fn source(&self) -> &UseSource
fn availability(&self) -> &Availability
impl Eq for UseServiceDecl
impl StructuralPartialEq for UseServiceDecl
Auto Trait Implementations§
impl Freeze for UseServiceDecl
impl RefUnwindSafe for UseServiceDecl
impl Send for UseServiceDecl
impl Sync for UseServiceDecl
impl Unpin for UseServiceDecl
impl UnwindSafe for UseServiceDecl
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