pub struct PlotHistogram<'ui, 'p, Label, Overlay = &'static str> { /* private fields */ }
Implementations§
Source§impl<'ui, 'p, Label> PlotHistogram<'ui, 'p, Label>
impl<'ui, 'p, Label> PlotHistogram<'ui, 'p, Label>
pub fn new( ui: &'ui Ui, label: Label, values: &'p [f32], ) -> PlotHistogram<'ui, 'p, Label>
Source§impl<'ui, 'p, Label, Overlay> PlotHistogram<'ui, 'p, Label, Overlay>
impl<'ui, 'p, Label, Overlay> PlotHistogram<'ui, 'p, Label, Overlay>
pub fn values_offset( self, values_offset: usize, ) -> PlotHistogram<'ui, 'p, Label, Overlay>
pub fn overlay_text<NewOverlay>( self, overlay_text: NewOverlay, ) -> PlotHistogram<'ui, 'p, Label, NewOverlay>
pub fn scale_min(self, scale_min: f32) -> PlotHistogram<'ui, 'p, Label, Overlay>
pub fn scale_max(self, scale_max: f32) -> PlotHistogram<'ui, 'p, Label, Overlay>
pub fn graph_size( self, graph_size: impl Into<Vector2<f32>>, ) -> PlotHistogram<'ui, 'p, Label, Overlay>
pub fn build(self)
Auto Trait Implementations§
impl<'ui, 'p, Label, Overlay> Freeze for PlotHistogram<'ui, 'p, Label, Overlay>
impl<'ui, 'p, Label, Overlay = &'static str> !RefUnwindSafe for PlotHistogram<'ui, 'p, Label, Overlay>
impl<'ui, 'p, Label, Overlay = &'static str> !Send for PlotHistogram<'ui, 'p, Label, Overlay>
impl<'ui, 'p, Label, Overlay = &'static str> !Sync for PlotHistogram<'ui, 'p, Label, Overlay>
impl<'ui, 'p, Label, Overlay> Unpin for PlotHistogram<'ui, 'p, Label, Overlay>
impl<'ui, 'p, Label, Overlay = &'static str> !UnwindSafe for PlotHistogram<'ui, 'p, Label, Overlay>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more