pub struct DeclarationScope { /* private fields */ }Expand description
Names and files reached from recorded declarations, not a grant of access. Each file is opened again and live declarations are resolved before the operation uses them.
Trait Implementations§
Source§impl Clone for DeclarationScope
impl Clone for DeclarationScope
Source§impl Debug for DeclarationScope
impl Debug for DeclarationScope
Source§impl<'de> Deserialize<'de> for DeclarationScope
impl<'de> Deserialize<'de> for DeclarationScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeclarationScope
impl PartialEq for DeclarationScope
Source§impl Serialize for DeclarationScope
impl Serialize for DeclarationScope
impl StructuralPartialEq for DeclarationScope
Auto Trait Implementations§
impl Forget for DeclarationScope
impl Freeze for DeclarationScopewhere
*const LeafNode<ArtifactName, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ArtifactName, SetValZST)>>: Freeze,
*const LeafNode<LogicalPath, SetValZST> is !null: Freeze,
PhantomData<Box<(LogicalPath, SetValZST)>>: Freeze,
impl Move for DeclarationScope
impl RefUnwindSafe for DeclarationScope
impl Send for DeclarationScopewhere
NodeRef<Owned, ArtifactName, SetValZST, LeafOrInternal>: Send,
BoxRaw<(ArtifactName, SetValZST)>: Send,
NodeRef<Owned, LogicalPath, SetValZST, LeafOrInternal>: Send,
BoxRaw<(LogicalPath, SetValZST)>: Send,
impl Sync for DeclarationScopewhere
NodeRef<Owned, ArtifactName, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(ArtifactName, SetValZST)>: Sync,
NodeRef<Owned, LogicalPath, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(LogicalPath, SetValZST)>: Sync,
impl Unpin for DeclarationScopewhere
*const LeafNode<ArtifactName, SetValZST> is !null: Unpin,
Box<(ArtifactName, SetValZST)>: Unpin,
*const LeafNode<LogicalPath, SetValZST> is !null: Unpin,
Box<(LogicalPath, SetValZST)>: Unpin,
impl UnsafeUnpin for DeclarationScopewhere
*const LeafNode<ArtifactName, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ArtifactName, SetValZST)>>: UnsafeUnpin,
*const LeafNode<LogicalPath, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(LogicalPath, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for DeclarationScope
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.