pub struct Pyqie {
pub frame_count: u32,
/* private fields */
}
Fields§
§frame_count: u32
Implementations§
Source§impl Pyqie
impl Pyqie
pub fn ceil(&self, x: f64) -> i32
pub fn floor(&self, x: f64) -> i32
pub fn sgn(&self, x: f64) -> f64
pub fn sqrt(&self, x: f64) -> f64
pub fn sin(&self, deg: f64) -> f64
pub fn cos(&self, deg: f64) -> f64
pub fn atan2(&self, y: f64, x: f64) -> f64
pub fn rseed(&mut self, seed: u32)
pub fn rndi(&mut self, a: i32, b: i32) -> i32
pub fn rndf(&mut self, a: f64, b: f64) -> f64
pub fn nseed(&mut self, seed: u32)
pub fn noise(&mut self, x: f64, y: f64, z: f64) -> f64
Auto Trait Implementations§
impl Freeze for Pyqie
impl RefUnwindSafe for Pyqie
impl Send for Pyqie
impl Sync for Pyqie
impl Unpin for Pyqie
impl UnwindSafe for Pyqie
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