pub struct InputShape {
pub frame_bytes: usize,
pub collection_items: usize,
pub operations: usize,
pub nesting_depth: usize,
pub dependency_edges: usize,
pub longest_string_bytes: usize,
}Expand description
Measured shape supplied by a bounded decoder.
Fields§
§frame_bytes: usize§collection_items: usize§operations: usize§nesting_depth: usize§dependency_edges: usize§longest_string_bytes: usizeTrait Implementations§
Source§impl Clone for InputShape
impl Clone for InputShape
Source§fn clone(&self) -> InputShape
fn clone(&self) -> InputShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InputShape
Source§impl Debug for InputShape
impl Debug for InputShape
Source§impl Default for InputShape
impl Default for InputShape
Source§fn default() -> InputShape
fn default() -> InputShape
Returns the “default value” for a type. Read more
impl Eq for InputShape
Source§impl PartialEq for InputShape
impl PartialEq for InputShape
impl StructuralPartialEq for InputShape
Auto Trait Implementations§
impl Freeze for InputShape
impl RefUnwindSafe for InputShape
impl Send for InputShape
impl Sync for InputShape
impl Unpin for InputShape
impl UnsafeUnpin for InputShape
impl UnwindSafe for InputShape
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