pub struct KlineDims {
pub rehab: i32,
pub kl_type: i32,
pub session: i32,
}Expand description
K-line cache dimensions that must travel together.
Keeps the C++ cache dimensions (rehab, kl_type, session) as one typed value
so call sites cannot accidentally swap positional i32 arguments.
Fields§
§rehab: i32§kl_type: i32§session: i32Implementations§
Trait Implementations§
impl Copy for KlineDims
impl Eq for KlineDims
impl StructuralPartialEq for KlineDims
Auto Trait Implementations§
impl Freeze for KlineDims
impl RefUnwindSafe for KlineDims
impl Send for KlineDims
impl Sync for KlineDims
impl Unpin for KlineDims
impl UnsafeUnpin for KlineDims
impl UnwindSafe for KlineDims
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.