Enum interoptopus::Symbol
source · pub enum Symbol {
Function(Function),
Constant(Constant),
Type(CType),
Pattern(LibraryPattern),
}
Expand description
Tells the InventoryBuilder
what to register.
Most users won’t need to touch this enum directly, as its variants are usually created via the function
, constant
, extra_type
and pattern
macros.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
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