pub struct ArrayType {
pub elem: Type,
pub len: Option<usize>,
}Available on crate feature
types only.Expand description
A type that represents a homogeneous collection of values.
Fields§
§elem: TypeThe type of the elements in the array. May be a filled or optional type.
len: Option<usize>The length of the array. If None, the array is of unknown length and
can be of any length.
Trait Implementations§
impl Eq for ArrayType
impl StructuralPartialEq for ArrayType
Auto Trait Implementations§
impl Freeze for ArrayType
impl RefUnwindSafe for ArrayType
impl Send for ArrayType
impl Sync for ArrayType
impl Unpin for ArrayType
impl UnsafeUnpin for ArrayType
impl UnwindSafe for ArrayType
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