pub struct RootInfo {
pub kind: &'static str,
pub name: String,
pub module: String,
pub exported: bool,
pub session: bool,
pub binding: String,
pub detail: String,
pub edited: bool,
}Expand description
a root as :roots lists it
Fields§
§kind: &'static stroutput or input
name: Stringits name
module: Stringthe module declaring it; empty for a session root
exported: boolwhether it is exported
session: boolwhether the session declared it
binding: Stringhow it is bound, for an input or a detached output
detail: Stringthe bound file, when there is one
edited: boolwhether an edit changed its document
Auto Trait Implementations§
impl Freeze for RootInfo
impl RefUnwindSafe for RootInfo
impl Send for RootInfo
impl Sync for RootInfo
impl Unpin for RootInfo
impl UnsafeUnpin for RootInfo
impl UnwindSafe for RootInfo
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