pub struct GenericExpression {
pub text: String,
pub location: SourceLocation,
}Expand description
Generic/unknown expression that we don’t need to parse in detail Used for offsetof, compound literals, etc. that don’t affect linting rules
Fields§
§text: String§location: SourceLocationTrait Implementations§
Source§impl Clone for GenericExpression
impl Clone for GenericExpression
Source§impl Debug for GenericExpression
impl Debug for GenericExpression
Auto Trait Implementations§
impl Freeze for GenericExpression
impl RefUnwindSafe for GenericExpression
impl Send for GenericExpression
impl Sync for GenericExpression
impl Unpin for GenericExpression
impl UnsafeUnpin for GenericExpression
impl UnwindSafe for GenericExpression
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