pub struct WriteReadback {
pub proportional: f32,
pub integral: f32,
pub derivative: f32,
}Expand description
A triple of proportional/integral/derivative values, read from the driver before any
write is attempted (TuneWriteRow::previous). Not a bhtune-core type like
bhtune_core::tuning_math::OpcWriteValues: this is a raw observation, not a
calculated/intended value.
Fields§
§proportional: f32§integral: f32§derivative: f32Trait Implementations§
Source§impl Clone for WriteReadback
impl Clone for WriteReadback
Source§fn clone(&self) -> WriteReadback
fn clone(&self) -> WriteReadback
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 WriteReadback
Source§impl Debug for WriteReadback
impl Debug for WriteReadback
Source§impl PartialEq for WriteReadback
impl PartialEq for WriteReadback
Source§fn eq(&self, other: &WriteReadback) -> bool
fn eq(&self, other: &WriteReadback) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WriteReadback
Auto Trait Implementations§
impl Freeze for WriteReadback
impl RefUnwindSafe for WriteReadback
impl Send for WriteReadback
impl Sync for WriteReadback
impl Unpin for WriteReadback
impl UnsafeUnpin for WriteReadback
impl UnwindSafe for WriteReadback
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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