pub enum LoadMode {
Lossless,
Resolved,
}Expand description
Loader mode — controls how alias references are handled.
Variants§
Lossless
Preserve aliases as Node::Alias nodes (default, safe for LSP).
Resolved
Expand aliases inline; subject to max_expanded_nodes limit.
Trait Implementations§
impl Copy for LoadMode
impl Eq for LoadMode
impl StructuralPartialEq for LoadMode
Auto Trait Implementations§
impl Freeze for LoadMode
impl RefUnwindSafe for LoadMode
impl Send for LoadMode
impl Sync for LoadMode
impl Unpin for LoadMode
impl UnsafeUnpin for LoadMode
impl UnwindSafe for LoadMode
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