pub struct Remarks(/* private fields */);Expand description
What a constant does that the dialect being compiled has an opinion about.
A bitmask rather than a list, because a constant may earn several and a Vec per constant
on a file full of them is a cost with nothing to show for it. Every one of these is legal
in the dialect this compiler defaults to, so none of them is an error here: the caller
decides what -pedantic and -Werror make of them.
Implementations§
Source§impl Remarks
impl Remarks
Sourcepub const BINARY: Remarks
pub const BINARY: Remarks
A 0b constant before C23, where it is a GNU extension both compilers accept.
Sourcepub const SEPARATORS: Remarks
pub const SEPARATORS: Remarks
A digit separator before C23, which neither compiler accepts there.
Sourcepub const LONG_LONG: Remarks
pub const LONG_LONG: Remarks
An ll suffix under -std=c89, where GCC says “use of C99 long long integer constant”.
Trait Implementations§
impl Copy for Remarks
impl Eq for Remarks
impl StructuralPartialEq for Remarks
Auto Trait Implementations§
impl Freeze for Remarks
impl RefUnwindSafe for Remarks
impl Send for Remarks
impl Sync for Remarks
impl Unpin for Remarks
impl UnsafeUnpin for Remarks
impl UnwindSafe for Remarks
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