pub struct MixedInputSpec {
pub scalars: usize,
pub arrays: Vec<Option<usize>>,
}Expand description
Mixed scalar and array input specification
Fields§
§scalars: usize§arrays: Vec<Option<usize>>Trait Implementations§
Source§impl Clone for MixedInputSpec
impl Clone for MixedInputSpec
Source§fn clone(&self) -> MixedInputSpec
fn clone(&self) -> MixedInputSpec
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 moreSource§impl Debug for MixedInputSpec
impl Debug for MixedInputSpec
Source§impl InputSpec for MixedInputSpec
impl InputSpec for MixedInputSpec
Source§fn description(&self) -> String
fn description(&self) -> String
Get a description of this input pattern
Source§fn scalar_count(&self) -> usize
fn scalar_count(&self) -> usize
Get the total number of scalar values needed
Source§fn array_count(&self) -> usize
fn array_count(&self) -> usize
Get the number of array inputs
Auto Trait Implementations§
impl Freeze for MixedInputSpec
impl RefUnwindSafe for MixedInputSpec
impl Send for MixedInputSpec
impl Sync for MixedInputSpec
impl Unpin for MixedInputSpec
impl UnsafeUnpin for MixedInputSpec
impl UnwindSafe for MixedInputSpec
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