[−][src]Struct nannou::math::Matrix3
A 3 x 3, column major matrix
This type is marked as #[repr(C)]
.
Fields
x: Vector3<S>
The first column of the matrix.
y: Vector3<S>
The second column of the matrix.
z: Vector3<S>
The third column of the matrix.
Methods
impl<S> Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
pub fn new(
c0r0: S,
c0r1: S,
c0r2: S,
c1r0: S,
c1r1: S,
c1r2: S,
c2r0: S,
c2r1: S,
c2r2: S
) -> Matrix3<S>
[src]
c0r0: S,
c0r1: S,
c0r2: S,
c1r0: S,
c1r1: S,
c1r2: S,
c2r0: S,
c2r1: S,
c2r2: S
) -> Matrix3<S>
Create a new matrix, providing values for each index.
pub fn from_cols(c0: Vector3<S>, c1: Vector3<S>, c2: Vector3<S>) -> Matrix3<S>
[src]
Create a new matrix, providing columns.
pub fn look_at(dir: Vector3<S>, up: Vector3<S>) -> Matrix3<S>
[src]
Create a rotation matrix that will cause a vector to point at
dir
, using up
for orientation.
pub fn from_angle_x<A>(theta: A) -> Matrix3<S> where
A: Into<Rad<S>>,
[src]
A: Into<Rad<S>>,
Create a rotation matrix from a rotation around the x
axis (pitch).
pub fn from_angle_y<A>(theta: A) -> Matrix3<S> where
A: Into<Rad<S>>,
[src]
A: Into<Rad<S>>,
Create a rotation matrix from a rotation around the y
axis (yaw).
pub fn from_angle_z<A>(theta: A) -> Matrix3<S> where
A: Into<Rad<S>>,
[src]
A: Into<Rad<S>>,
Create a rotation matrix from a rotation around the z
axis (roll).
pub fn from_axis_angle<A>(axis: Vector3<S>, angle: A) -> Matrix3<S> where
A: Into<Rad<S>>,
[src]
A: Into<Rad<S>>,
Create a rotation matrix from an angle around an arbitrary axis.
The specified axis must be normalized, or it represents an invalid rotation.
impl<S> Matrix3<S> where
S: Copy + NumCast,
[src]
S: Copy + NumCast,
pub fn cast<T>(&self) -> Option<Matrix3<T>> where
T: NumCast,
[src]
T: NumCast,
Component-wise casting to another type
Trait Implementations
impl<S> Transform<Point2<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
fn one() -> Matrix3<S>
[src]
fn look_at(eye: Point2<S>, center: Point2<S>, up: Vector2<S>) -> Matrix3<S>
[src]
fn transform_vector(&self, vec: Vector2<S>) -> Vector2<S>
[src]
fn transform_point(&self, point: Point2<S>) -> Point2<S>
[src]
fn concat(&self, other: &Matrix3<S>) -> Matrix3<S>
[src]
fn inverse_transform(&self) -> Option<Matrix3<S>>
[src]
fn inverse_transform_vector(
&self,
vec: <P as EuclideanSpace>::Diff
) -> Option<<P as EuclideanSpace>::Diff>
[src]
&self,
vec: <P as EuclideanSpace>::Diff
) -> Option<<P as EuclideanSpace>::Diff>
Inverse transform a vector using this transform
fn concat_self(&mut self, other: &Self)
[src]
Combine this transform with another, in-place.
impl<S> Transform<Point3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
fn one() -> Matrix3<S>
[src]
fn look_at(eye: Point3<S>, center: Point3<S>, up: Vector3<S>) -> Matrix3<S>
[src]
fn transform_vector(&self, vec: Vector3<S>) -> Vector3<S>
[src]
fn transform_point(&self, point: Point3<S>) -> Point3<S>
[src]
fn concat(&self, other: &Matrix3<S>) -> Matrix3<S>
[src]
fn inverse_transform(&self) -> Option<Matrix3<S>>
[src]
fn inverse_transform_vector(
&self,
vec: <P as EuclideanSpace>::Diff
) -> Option<<P as EuclideanSpace>::Diff>
[src]
&self,
vec: <P as EuclideanSpace>::Diff
) -> Option<<P as EuclideanSpace>::Diff>
Inverse transform a vector using this transform
fn concat_self(&mut self, other: &Self)
[src]
Combine this transform with another, in-place.
impl<S> Serialize for Matrix3<S> where
S: Serialize,
[src]
S: Serialize,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl<S> One for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
fn one() -> Matrix3<S>
[src]
fn set_one(&mut self)
[src]
Sets self
to the multiplicative identity element of Self
, 1
.
fn is_one(&self) -> bool where
Self: PartialEq<Self>,
[src]
Self: PartialEq<Self>,
Returns true
if self
is equal to the multiplicative identity. Read more
impl<'a, S> From<&'a [S; 9]> for &'a Matrix3<S>
[src]
impl<'a, S> From<&'a mut [[S; 3]; 3]> for &'a mut Matrix3<S>
[src]
impl<S> From<Quaternion<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
fn from(quat: Quaternion<S>) -> Matrix3<S>
[src]
Convert the quaternion to a 3 x 3 rotation matrix.
impl<S> From<Matrix3<S>> for Quaternion<S> where
S: BaseFloat,
[src]
S: BaseFloat,
fn from(mat: Matrix3<S>) -> Quaternion<S>
[src]
Convert the matrix to a quaternion
impl<S> From<[[S; 3]; 3]> for Matrix3<S> where
S: Copy,
[src]
S: Copy,
impl<'a, S> From<&'a mut [S; 9]> for &'a mut Matrix3<S>
[src]
impl<S> From<Matrix2<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
fn from(m: Matrix2<S>) -> Matrix3<S>
[src]
Clone the elements of a 2-dimensional matrix into the top-left corner of a 3-dimensional identity matrix.
impl<'a, S> From<&'a [[S; 3]; 3]> for &'a Matrix3<S>
[src]
impl<A> From<Euler<A>> for Matrix3<<A as Angle>::Unitless> where
A: Angle + Into<Rad<<A as Angle>::Unitless>>,
[src]
A: Angle + Into<Rad<<A as Angle>::Unitless>>,
impl<S> From<Matrix3<S>> for Matrix4<S> where
S: BaseFloat,
[src]
S: BaseFloat,
fn from(m: Matrix3<S>) -> Matrix4<S>
[src]
Clone the elements of a 3-dimensional matrix into the top-left corner of a 4-dimensional identity matrix.
impl<S, R> From<Decomposed<Vector2<S>, R>> for Matrix3<S> where
R: Rotation2<S>,
S: BaseFloat,
[src]
R: Rotation2<S>,
S: BaseFloat,
fn from(dec: Decomposed<Vector2<S>, R>) -> Matrix3<S>
[src]
impl<S> From<Basis3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
impl<S> AsRef<[S; 9]> for Matrix3<S>
[src]
impl<S> AsRef<[[S; 3]; 3]> for Matrix3<S>
[src]
impl<S> AsRef<Matrix3<S>> for Basis3<S>
[src]
impl<S> MulAssign<S> for Matrix3<S> where
S: BaseFloat + MulAssign<S>,
[src]
S: BaseFloat + MulAssign<S>,
fn mul_assign(&mut self, scalar: S)
[src]
impl<S> Div<S> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the /
operator.
fn div(self, other: S) -> Matrix3<S>
[src]
impl<'a, S> Div<S> for &'a Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the /
operator.
fn div(self, other: S) -> Matrix3<S>
[src]
impl<S> SubAssign<Matrix3<S>> for Matrix3<S> where
S: BaseFloat + SubAssign<S>,
[src]
S: BaseFloat + SubAssign<S>,
fn sub_assign(&mut self, other: Matrix3<S>)
[src]
impl<S> RemAssign<S> for Matrix3<S> where
S: BaseFloat + RemAssign<S>,
[src]
S: BaseFloat + RemAssign<S>,
fn rem_assign(&mut self, scalar: S)
[src]
impl<S> IndexMut<usize> for Matrix3<S>
[src]
impl<'a, S> Mul<Matrix3<S>> for &'a Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix3<S>) -> Matrix3<S>
[src]
impl<'a, S> Mul<&'a Vector3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Vector3<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Vector3<S>) -> Vector3<S>
[src]
impl<'a, S> Mul<&'a Matrix3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix3<S>) -> Matrix3<S>
[src]
impl<'a, S> Mul<Vector3<S>> for &'a Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Vector3<S>
The resulting type after applying the *
operator.
fn mul(self, other: Vector3<S>) -> Vector3<S>
[src]
impl<S> Mul<S> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the *
operator.
fn mul(self, other: S) -> Matrix3<S>
[src]
impl<'a, 'b, S> Mul<&'a Matrix3<S>> for &'b Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Matrix3<S>) -> Matrix3<S>
[src]
impl<S> Mul<Vector3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Vector3<S>
The resulting type after applying the *
operator.
fn mul(self, other: Vector3<S>) -> Vector3<S>
[src]
impl<'a, 'b, S> Mul<&'a Vector3<S>> for &'b Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Vector3<S>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Vector3<S>) -> Vector3<S>
[src]
impl<'a, S> Mul<S> for &'a Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the *
operator.
fn mul(self, other: S) -> Matrix3<S>
[src]
impl<S> Mul<Matrix3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the *
operator.
fn mul(self, other: Matrix3<S>) -> Matrix3<S>
[src]
impl<'de, S> Deserialize<'de> for Matrix3<S> where
S: Deserialize<'de>,
[src]
S: Deserialize<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Matrix3<S>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Matrix3<S>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<S> Matrix for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Column = Vector3<S>
The column vector of the matrix.
type Row = Vector3<S>
The row vector of the matrix.
type Transpose = Matrix3<S>
The result of transposing the matrix
fn row(&self, r: usize) -> Vector3<S>
[src]
fn swap_rows(&mut self, a: usize, b: usize)
[src]
fn swap_columns(&mut self, a: usize, b: usize)
[src]
fn swap_elements(&mut self, a: (usize, usize), b: (usize, usize))
[src]
fn transpose(&self) -> Matrix3<S>
[src]
fn as_ptr(&self) -> *const Self::Scalar
[src]
Get the pointer to the first element of the array.
fn as_mut_ptr(&mut self) -> *mut Self::Scalar
[src]
Get a mutable pointer to the first element of the array.
fn replace_col(&mut self, c: usize, src: Self::Column) -> Self::Column
[src]
Replace a column in the array.
impl<S> Zero for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
fn zero() -> Matrix3<S>
[src]
fn is_zero(&self) -> bool
[src]
fn set_zero(&mut self)
[src]
Sets self
to the additive identity element of Self
, 0
.
impl<S> Copy for Matrix3<S> where
S: Copy,
[src]
S: Copy,
impl<S> Transform3<S> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
impl<'a, S> Rem<S> for &'a Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the %
operator.
fn rem(self, other: S) -> Matrix3<S>
[src]
impl<S> Rem<S> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the %
operator.
fn rem(self, other: S) -> Matrix3<S>
[src]
impl<S> AsMut<[S; 9]> for Matrix3<S>
[src]
impl<S> AsMut<[[S; 3]; 3]> for Matrix3<S>
[src]
impl<S> AddAssign<Matrix3<S>> for Matrix3<S> where
S: BaseFloat + AddAssign<S>,
[src]
S: BaseFloat + AddAssign<S>,
fn add_assign(&mut self, other: Matrix3<S>)
[src]
impl<'a, S> Neg for &'a Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the -
operator.
fn neg(self) -> Matrix3<S>
[src]
impl<S> Neg for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the -
operator.
fn neg(self) -> Matrix3<S>
[src]
impl<S> PartialEq<Matrix3<S>> for Matrix3<S> where
S: PartialEq<S>,
[src]
S: PartialEq<S>,
impl<S> Product<Matrix3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
impl<'a, S> Product<&'a Matrix3<S>> for Matrix3<S> where
S: 'a + BaseFloat,
[src]
S: 'a + BaseFloat,
impl<S> Rand for Matrix3<S> where
S: BaseFloat + Rand,
[src]
S: BaseFloat + Rand,
impl<S> Into<[[S; 3]; 3]> for Matrix3<S>
[src]
impl<S> SquareMatrix for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type ColumnRow = Vector3<S>
The row/column vector of the matrix. Read more
fn from_value(value: S) -> Matrix3<S>
[src]
fn from_diagonal(value: Vector3<S>) -> Matrix3<S>
[src]
fn transpose_self(&mut self)
[src]
fn determinant(&self) -> S
[src]
fn diagonal(&self) -> Vector3<S>
[src]
fn invert(&self) -> Option<Matrix3<S>>
[src]
fn is_diagonal(&self) -> bool
[src]
fn is_symmetric(&self) -> bool
[src]
fn identity() -> Self
[src]
The [identity matrix]. Multiplying this matrix with another should have no effect. Read more
fn trace(&self) -> Self::Scalar
[src]
Return the trace of this matrix. That is, the sum of the diagonal.
fn is_invertible(&self) -> bool
[src]
Test if this matrix is invertible.
fn is_identity(&self) -> bool
[src]
Test if this matrix is the identity matrix. That is, it is diagonal and every element in the diagonal is one. Read more
impl<S> Debug for Matrix3<S> where
S: Debug,
[src]
S: Debug,
impl<S> Index<usize> for Matrix3<S>
[src]
type Output = Vector3<S>
The returned type after indexing.
fn index(&'a self, i: usize) -> &'a Vector3<S>
[src]
impl<'a, S> Sub<Matrix3<S>> for &'a Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the -
operator.
fn sub(self, other: Matrix3<S>) -> Matrix3<S>
[src]
impl<'a, 'b, S> Sub<&'a Matrix3<S>> for &'b Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the -
operator.
fn sub(self, other: &'a Matrix3<S>) -> Matrix3<S>
[src]
impl<S> Sub<Matrix3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the -
operator.
fn sub(self, other: Matrix3<S>) -> Matrix3<S>
[src]
impl<'a, S> Sub<&'a Matrix3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the -
operator.
fn sub(self, other: &'a Matrix3<S>) -> Matrix3<S>
[src]
impl<'a, S> Add<Matrix3<S>> for &'a Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the +
operator.
fn add(self, other: Matrix3<S>) -> Matrix3<S>
[src]
impl<'a, 'b, S> Add<&'a Matrix3<S>> for &'b Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the +
operator.
fn add(self, other: &'a Matrix3<S>) -> Matrix3<S>
[src]
impl<S> Add<Matrix3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the +
operator.
fn add(self, other: Matrix3<S>) -> Matrix3<S>
[src]
impl<'a, S> Add<&'a Matrix3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Output = Matrix3<S>
The resulting type after applying the +
operator.
fn add(self, other: &'a Matrix3<S>) -> Matrix3<S>
[src]
impl<S> Transform2<S> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
impl<S> DivAssign<S> for Matrix3<S> where
S: BaseFloat + DivAssign<S>,
[src]
S: BaseFloat + DivAssign<S>,
fn div_assign(&mut self, scalar: S)
[src]
impl<S> VectorSpace for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Scalar = S
The associated scalar.
impl<'a, S> Sum<&'a Matrix3<S>> for Matrix3<S> where
S: 'a + BaseFloat,
[src]
S: 'a + BaseFloat,
impl<S> Sum<Matrix3<S>> for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
impl<S> Clone for Matrix3<S> where
S: Clone,
[src]
S: Clone,
fn clone(&self) -> Matrix3<S>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S> ApproxEq for Matrix3<S> where
S: BaseFloat,
[src]
S: BaseFloat,
type Epsilon = <S as ApproxEq>::Epsilon
Used for specifying relative comparisons.
fn default_epsilon() -> <S as ApproxEq>::Epsilon
[src]
fn default_max_relative() -> <S as ApproxEq>::Epsilon
[src]
fn default_max_ulps() -> u32
[src]
fn relative_eq(
&self,
other: &Matrix3<S>,
epsilon: <S as ApproxEq>::Epsilon,
max_relative: <S as ApproxEq>::Epsilon
) -> bool
[src]
&self,
other: &Matrix3<S>,
epsilon: <S as ApproxEq>::Epsilon,
max_relative: <S as ApproxEq>::Epsilon
) -> bool
fn ulps_eq(
&self,
other: &Matrix3<S>,
epsilon: <S as ApproxEq>::Epsilon,
max_ulps: u32
) -> bool
[src]
&self,
other: &Matrix3<S>,
epsilon: <S as ApproxEq>::Epsilon,
max_ulps: u32
) -> bool
fn relative_ne(
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
[src]
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
The inverse of ApproxEq::relative_eq
.
fn ulps_ne(&self, other: &Self, epsilon: Self::Epsilon, max_ulps: u32) -> bool
[src]
The inverse of ApproxEq::ulps_eq
.
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, Rhs> NumAssignOps<Rhs> for T where
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
[src]
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T> Style for T where
T: Any + Debug + PartialEq<T>,
[src]
T: Any + Debug + PartialEq<T>,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Content for T
[src]
fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
fn is_size_suitable(size: usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> SafeBorrow<T> for T
[src]
impl<S> FromSample<S> for S
[src]
fn from_sample_(s: S) -> S
[src]
impl<T, U> ToSample<U> for T where
U: FromSample<T>,
[src]
U: FromSample<T>,
fn to_sample_(self) -> U
[src]
impl<S, T> Duplex<S> for T where
T: FromSample<S> + ToSample<S>,
[src]
T: FromSample<S> + ToSample<S>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.