pub enum ContentEntry {
File(ContentHandle),
Folder(ContentFolderRef),
}Expand description
One child of a ContentFolder.
Variants§
Implementations§
Source§impl ContentEntry
impl ContentEntry
Sourcepub fn metadata(&self) -> ContentMetadata
pub fn metadata(&self) -> ContentMetadata
The child’s metadata regardless of kind.
Auto Trait Implementations§
impl !RefUnwindSafe for ContentEntry
impl !Send for ContentEntry
impl !Sync for ContentEntry
impl !UnwindSafe for ContentEntry
impl Freeze for ContentEntry
impl Unpin for ContentEntry
impl UnsafeUnpin for ContentEntry
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