Struct ux::Matrix [−][src]
pub struct Matrix(_);
Implementations
impl Matrix
[src]
impl Matrix
[src]pub fn init_from_matrix(&mut self, b: &Matrix) -> Option<Matrix>
[src]
Initializes the Matrix
self
with the contents of the
Matrix
b
.
b
the Matrix
to copy
Returns
the initialized Matrix
pub fn init_identity(&mut self) -> Option<Matrix>
[src]
Initializes self
with the identity matrix, i.e.:
.xx = 1.0, .xy = 0.0, .xz = 0.0, .xw = 0.0
.yx = 0.0, .yy = 1.0, .yz = 0.0, .yw = 0.0
.zx = 0.0, .zy = 0.0, .zz = 1.0, .zw = 0.0
.wx = 0.0, .wy = 0.0, .wz = 0.0, .ww = 1.0
Returns
the initialized Matrix
pub fn alloc() -> Option<Matrix>
[src]
Trait Implementations
impl PartialOrd<Matrix> for Matrix
[src]
impl PartialOrd<Matrix> for Matrix
[src]impl StaticType for Matrix
[src]
impl StaticType for Matrix
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for Matrix
[src]
impl StructuralEq for Matrix
[src]impl StructuralPartialEq for Matrix
[src]
impl StructuralPartialEq for Matrix
[src]Auto Trait Implementations
impl RefUnwindSafe for Matrix
impl RefUnwindSafe for Matrix
impl UnwindSafe for Matrix
impl UnwindSafe for Matrix
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,