pub struct ProgramSemanticModel { /* private fields */ }Expand description
Immutable linked checker product.
Implementations§
Source§impl ProgramSemanticModel
impl ProgramSemanticModel
pub fn file(&self, source_id: SourceId) -> Option<&SemanticModel>
pub fn edges(&self) -> &[ResolvedModuleEdge]
Trait Implementations§
Source§impl Clone for ProgramSemanticModel
impl Clone for ProgramSemanticModel
Source§fn clone(&self) -> ProgramSemanticModel
fn clone(&self) -> ProgramSemanticModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProgramSemanticModel
impl RefUnwindSafe for ProgramSemanticModel
impl Send for ProgramSemanticModel
impl Sync for ProgramSemanticModel
impl Unpin for ProgramSemanticModel
impl UnsafeUnpin for ProgramSemanticModel
impl UnwindSafe for ProgramSemanticModel
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