pub struct Define {
pub name: String,
pub is_function: bool,
pub span: Option<Span>,
}Expand description
A preprocessing define recorded for provenance.
Fields§
§name: String§is_function: bool§span: Option<Span>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Define
impl<'de> Deserialize<'de> for Define
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
impl StructuralPartialEq for Define
Auto Trait Implementations§
impl Freeze for Define
impl RefUnwindSafe for Define
impl Send for Define
impl Sync for Define
impl Unpin for Define
impl UnsafeUnpin for Define
impl UnwindSafe for Define
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