pub struct DefineRecord {
pub name: String,
pub is_function: bool,
pub span: Option<Span>,
}Expand description
A recorded preprocessing define (HIR provenance).
Fields§
§name: String§is_function: bool§span: Option<Span>Trait Implementations§
Source§impl Clone for DefineRecord
impl Clone for DefineRecord
Source§fn clone(&self) -> DefineRecord
fn clone(&self) -> DefineRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefineRecord
impl Debug for DefineRecord
Source§impl PartialEq for DefineRecord
impl PartialEq for DefineRecord
impl StructuralPartialEq for DefineRecord
Auto Trait Implementations§
impl Freeze for DefineRecord
impl RefUnwindSafe for DefineRecord
impl Send for DefineRecord
impl Sync for DefineRecord
impl Unpin for DefineRecord
impl UnsafeUnpin for DefineRecord
impl UnwindSafe for DefineRecord
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