pub struct StaticAssert {
pub expression: Box<Node<Expression>>,
pub message: Node<StringLiteral>,
}
Expand description
Static assertion
(C11 6.7.10)
Fields§
§expression: Box<Node<Expression>>
§message: Node<StringLiteral>
Trait Implementations§
Source§impl Clone for StaticAssert
impl Clone for StaticAssert
Source§fn clone(&self) -> StaticAssert
fn clone(&self) -> StaticAssert
Returns a copy of the value. Read more
1.0.0 · 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 StaticAssert
impl Debug for StaticAssert
Source§impl PartialEq for StaticAssert
impl PartialEq for StaticAssert
impl StructuralPartialEq for StaticAssert
Auto Trait Implementations§
impl Freeze for StaticAssert
impl RefUnwindSafe for StaticAssert
impl Send for StaticAssert
impl Sync for StaticAssert
impl Unpin for StaticAssert
impl UnwindSafe for StaticAssert
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