pub struct HistogramDescriptor {
pub numel: i64,
pub num_bins: i32,
pub lo: f64,
pub hi: f64,
pub element: ElementKind,
}Expand description
Descriptor for a histogram op.
Fields§
§numel: i64Total input element count.
num_bins: i32Number of bins.
lo: f64Lower edge of the range (inclusive).
hi: f64Upper edge of the range (inclusive).
element: ElementKindInput element type.
Trait Implementations§
Source§impl Clone for HistogramDescriptor
impl Clone for HistogramDescriptor
Source§fn clone(&self) -> HistogramDescriptor
fn clone(&self) -> HistogramDescriptor
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 HistogramDescriptor
Auto Trait Implementations§
impl Freeze for HistogramDescriptor
impl RefUnwindSafe for HistogramDescriptor
impl Send for HistogramDescriptor
impl Sync for HistogramDescriptor
impl Unpin for HistogramDescriptor
impl UnsafeUnpin for HistogramDescriptor
impl UnwindSafe for HistogramDescriptor
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