pub struct Meta {
pub location: FileLocation,
pub file_id: Option<FileID>,
/* private fields */
}Fields
location: FileLocationfile_id: Option<FileID>Implementations
sourceimpl Meta
impl Meta
pub fn new(location: &FileLocation, file_id: &Option<FileID>) -> Meta
pub fn start(&self) -> usize
pub fn end(&self) -> usize
pub fn file_id(&self) -> Option<FileID>
pub fn file_location(&self) -> FileLocation
pub fn degree_knowledge(&self) -> &DegreeKnowledge
pub fn type_knowledge(&self) -> &TypeKnowledge
pub fn value_knowledge(&self) -> &ValueKnowledge
pub fn variable_knowledge(&self) -> &VariableKnowledge
pub fn degree_knowledge_mut(&mut self) -> &mut DegreeKnowledge
pub fn type_knowledge_mut(&mut self) -> &mut TypeKnowledge
pub fn value_knowledge_mut(&mut self) -> &mut ValueKnowledge
pub fn variable_knowledge_mut(&mut self) -> &mut VariableKnowledge
Trait Implementations
sourceimpl PartialEq<Meta> for Meta
impl PartialEq<Meta> for Meta
impl Eq for Meta
Auto Trait Implementations
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnwindSafe for Meta
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more