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