pub struct Entry {
pub name: Arc<str>,
pub kind: &'static str,
pub signature: String,
pub effects: Vec<String>,
pub tier: Tier,
pub doc: Option<Arc<str>>,
}Expand description
One documented name.
Fields§
§name: Arc<str>§kind: &'static strdef / signal — what the reader is looking at.
signature: StringThe signature as it is written in the language: add(a: Int, b: Int) -> Int.
effects: Vec<String>The inferred effect row, as atom names. Empty means pure.
tier: Tier§doc: Option<Arc<str>>Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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