pub struct XrefBuilder { /* private fields */ }Implementations§
Source§impl XrefBuilder
impl XrefBuilder
pub fn new() -> Self
pub fn with_layout(self, layout: ProjectLayout) -> Self
pub fn with_builtins(self, b: VertexSet) -> Self
Sourcepub fn add_application<I>(
&mut self,
app: ApplicationName,
files: I,
) -> Result<&mut Self, XrefError>
pub fn add_application<I>( &mut self, app: ApplicationName, files: I, ) -> Result<&mut Self, XrefError>
Add an application from in-memory (path, bytes) pairs.
pub fn add_modules<I>(&mut self, modules: I) -> &mut Selfwhere
I: IntoIterator<Item = ModuleData>,
pub fn warnings(&self) -> &[ReadWarning]
pub fn build(self) -> Result<Xref<Functions>, XrefError>
Trait Implementations§
Source§impl Clone for XrefBuilder
impl Clone for XrefBuilder
Source§impl Debug for XrefBuilder
impl Debug for XrefBuilder
Auto Trait Implementations§
impl Forget for XrefBuilder
impl Freeze for XrefBuilder
impl Move for XrefBuilder
impl RefUnwindSafe for XrefBuilder
impl Send for XrefBuilder
impl Sync for XrefBuilder
impl Unpin for XrefBuilder
impl UnsafeUnpin for XrefBuilder
impl UnwindSafe for XrefBuilder
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