pub struct Symbol {
pub kind: &'static str,
pub name: String,
pub is_macro: bool,
pub params: Option<Vec<SymbolParam>>,
pub file: PathBuf,
pub line: usize,
pub plugin: Option<String>,
}Expand description
A global binding, for config symbols.
Fields§
§kind: &'static str§name: String§is_macro: bool§params: Option<Vec<SymbolParam>>§file: PathBuf§line: usize§plugin: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Forget for Symbol
impl Freeze for Symbolwhere
&'static str: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SymbolParam>: Freeze,
impl Move for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbolwhere
RawVecInner: Sync,
impl Unpin for Symbol
impl UnsafeUnpin for Symbolwhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SymbolParam>: UnsafeUnpin,
impl UnwindSafe for Symbol
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> 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.