pub struct PreviewFileRoot { /* private fields */ }Implementations§
Source§impl PreviewFileRoot
impl PreviewFileRoot
Sourcepub fn files(&self) -> Vec<&PreviewFileChildren>
pub fn files(&self) -> Vec<&PreviewFileChildren>
Get all the files in the preview.
Trait Implementations§
Source§impl Debug for PreviewFileRoot
impl Debug for PreviewFileRoot
Source§impl<'de> Deserialize<'de> for PreviewFileRoot
impl<'de> Deserialize<'de> for PreviewFileRoot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreviewFileRoot
impl RefUnwindSafe for PreviewFileRoot
impl Send for PreviewFileRoot
impl Sync for PreviewFileRoot
impl Unpin for PreviewFileRoot
impl UnwindSafe for PreviewFileRoot
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