#[non_exhaustive]pub struct Monotonic {
pub cfgs: Vec<Attribute>,
pub ident: Ident,
pub ty: Box<Type>,
pub args: MonotonicArgs,
}
Expand description
Monotonic
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cfgs: Vec<Attribute>
#[cfg]
attributes like #[cfg(debug_assertions)]
ident: Ident
The identifier of the monotonic
ty: Box<Type>
The type of this monotonic
args: MonotonicArgs
Monotonic args
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Monotonic
impl RefUnwindSafe for Monotonic
impl !Send for Monotonic
impl !Sync for Monotonic
impl Unpin for Monotonic
impl UnwindSafe for Monotonic
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