[−][src]Struct pt::models::Aggregate
Implementations
impl Aggregate
[src]
pub fn new(o: f32, c: f32, l: f32, h: f32, v: i64, k: i64, t: i64) -> Aggregate
[src]
pub fn set_o(&mut self, o: f32)
[src]
pub fn with_o(self, o: f32) -> Aggregate
[src]
pub fn o(&self) -> &f32
[src]
pub fn set_c(&mut self, c: f32)
[src]
pub fn with_c(self, c: f32) -> Aggregate
[src]
pub fn c(&self) -> &f32
[src]
pub fn set_l(&mut self, l: f32)
[src]
pub fn with_l(self, l: f32) -> Aggregate
[src]
pub fn l(&self) -> &f32
[src]
pub fn set_h(&mut self, h: f32)
[src]
pub fn with_h(self, h: f32) -> Aggregate
[src]
pub fn h(&self) -> &f32
[src]
pub fn set_v(&mut self, v: i64)
[src]
pub fn with_v(self, v: i64) -> Aggregate
[src]
pub fn v(&self) -> &i64
[src]
pub fn set_k(&mut self, k: i64)
[src]
pub fn with_k(self, k: i64) -> Aggregate
[src]
pub fn k(&self) -> &i64
[src]
pub fn set_t(&mut self, t: i64)
[src]
pub fn with_t(self, t: i64) -> Aggregate
[src]
pub fn t(&self) -> &i64
[src]
Trait Implementations
impl Clone for Aggregate
[src]
impl Debug for Aggregate
[src]
impl<'de> Deserialize<'de> for Aggregate
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Aggregate
[src]
Auto Trait Implementations
impl RefUnwindSafe for Aggregate
impl Send for Aggregate
impl Sync for Aggregate
impl Unpin for Aggregate
impl UnwindSafe for Aggregate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,