pub struct StorageFolderRef(pub Rc<dyn IStorageFolder>);Expand description
A folder of a storage provider (IStorageFolder).
Tuple Fields§
§0: Rc<dyn IStorageFolder>Implementations§
Source§impl StorageFolderRef
impl StorageFolderRef
Sourcepub fn new(value: Rc<dyn IStorageFolder>) -> Self
pub fn new(value: Rc<dyn IStorageFolder>) -> Self
The handle of value.
Sourcepub fn get(&self) -> &Rc<dyn IStorageFolder>
pub fn get(&self) -> &Rc<dyn IStorageFolder>
The shared object.
Trait Implementations§
Source§impl Clone for StorageFolderRef
impl Clone for StorageFolderRef
Source§impl Debug for StorageFolderRef
impl Debug for StorageFolderRef
Source§impl Deref for StorageFolderRef
impl Deref for StorageFolderRef
Source§type Target = dyn IStorageFolder
type Target = dyn IStorageFolder
The resulting type after dereferencing.
Source§fn deref(&self) -> &(dyn IStorageFolder + 'static)
fn deref(&self) -> &(dyn IStorageFolder + 'static)
Dereferences the value.
Source§impl From<Rc<dyn IStorageFolder>> for StorageFolderRef
impl From<Rc<dyn IStorageFolder>> for StorageFolderRef
Source§fn from(value: Rc<dyn IStorageFolder>) -> Self
fn from(value: Rc<dyn IStorageFolder>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StorageFolderRef
impl !Send for StorageFolderRef
impl !Sync for StorageFolderRef
impl !UnwindSafe for StorageFolderRef
impl Freeze for StorageFolderRef
impl Unpin for StorageFolderRef
impl UnsafeUnpin for StorageFolderRef
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more