pub struct UseStorageDecl {
pub source_name: Name,
pub target_path: Path,
pub availability: Availability,
}
Fields§
§source_name: Name
§target_path: Path
§availability: Availability
Trait Implementations§
Source§impl Clone for UseStorageDecl
impl Clone for UseStorageDecl
Source§fn clone(&self) -> UseStorageDecl
fn clone(&self) -> UseStorageDecl
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 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,
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
)