pub struct Code {
pub entries: Vec<Entry>,
pub files: Vec<File>,
}Expand description
The Run’s code: the explorer’s rows and the files they show.
Fields§
§entries: Vec<Entry>Folders before files at each level, each level by name; a folder’s rows follow it.
files: Vec<File>Every file, in the order the explorer lists them.
Trait Implementations§
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Forget for Code
impl Freeze for Code
impl Move for Code
impl RefUnwindSafe for Code
impl Send for Codewhere
RawVecInner: Send,
impl Sync for Codewhere
RawVecInner: Sync,
impl Unpin for Code
impl UnsafeUnpin for Codewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Entry>: UnsafeUnpin,
PhantomData<File>: UnsafeUnpin,
impl UnwindSafe for Codewhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.