Struct QuantizationRequest
#[repr(C)]pub struct QuantizationRequest {
pub tensor_index: u32,
pub quantization_index: u32,
}Expand description
Selects a quantization entry for an input or output tensor.
Fields§
§tensor_index: u32§quantization_index: u32Trait Implementations§
§impl Clone for QuantizationRequest
impl Clone for QuantizationRequest
§fn clone(&self) -> QuantizationRequest
fn clone(&self) -> QuantizationRequest
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 more§impl Debug for QuantizationRequest
impl Debug for QuantizationRequest
§impl Default for QuantizationRequest
impl Default for QuantizationRequest
§fn default() -> QuantizationRequest
fn default() -> QuantizationRequest
Returns the “default value” for a type. Read more
§impl PartialEq for QuantizationRequest
impl PartialEq for QuantizationRequest
§fn eq(&self, other: &QuantizationRequest) -> bool
fn eq(&self, other: &QuantizationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for QuantizationRequest
impl Eq for QuantizationRequest
impl PlainData for QuantizationRequest
impl StructuralPartialEq for QuantizationRequest
Auto Trait Implementations§
impl Freeze for QuantizationRequest
impl RefUnwindSafe for QuantizationRequest
impl Send for QuantizationRequest
impl Sync for QuantizationRequest
impl Unpin for QuantizationRequest
impl UnsafeUnpin for QuantizationRequest
impl UnwindSafe for QuantizationRequest
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