pub enum VmDim {
Fixed(u64),
Len(ObjectId),
Unknown,
}Expand description
One dimension of a variably modified array type.
Variants§
Fixed(u64)
A constant bound, outside a variable one: the 3 of int a[3][n].
Len(ObjectId)
A run-time bound, held by a hidden size_t object.
Unknown
A run-time bound the type does not carry — int a[*], or a
prototype’s, which is never evaluated (C99 6.7.5.3p7).
Trait Implementations§
impl Copy for VmDim
impl Eq for VmDim
impl StructuralPartialEq for VmDim
Auto Trait Implementations§
impl Freeze for VmDim
impl RefUnwindSafe for VmDim
impl Send for VmDim
impl Sync for VmDim
impl Unpin for VmDim
impl UnsafeUnpin for VmDim
impl UnwindSafe for VmDim
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