pub struct Homogeneous {
pub len: NonZero<usize>,
pub schema: &'static Schema,
pub meta: Option<Meta>,
}
Expand description
A representative schema item for a homogeneous array
Fields§
§len: NonZero<usize>
The number of items
schema: &'static Schema
The schema of the child nodes
meta: Option<Meta>
The outer metadata
Implementations§
Trait Implementations§
Source§impl Clone for Homogeneous
impl Clone for Homogeneous
Source§fn clone(&self) -> Homogeneous
fn clone(&self) -> Homogeneous
Returns a duplicate 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 Homogeneous
impl Debug for Homogeneous
Source§impl Hash for Homogeneous
impl Hash for Homogeneous
Source§impl Ord for Homogeneous
impl Ord for Homogeneous
Source§fn cmp(&self, other: &Homogeneous) -> Ordering
fn cmp(&self, other: &Homogeneous) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Homogeneous
impl PartialEq for Homogeneous
Source§impl PartialOrd for Homogeneous
impl PartialOrd for Homogeneous
Source§impl Serialize for Homogeneous
impl Serialize for Homogeneous
impl Eq for Homogeneous
impl StructuralPartialEq for Homogeneous
Auto Trait Implementations§
impl Freeze for Homogeneous
impl RefUnwindSafe for Homogeneous
impl Send for Homogeneous
impl Sync for Homogeneous
impl Unpin for Homogeneous
impl UnwindSafe for Homogeneous
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