[][src]Struct bevy::prelude::NonUniformScale

pub struct NonUniformScale(pub Vec3);

Implementations

impl NonUniformScale[src]

pub fn new(x: f32, y: f32, z: f32) -> NonUniformScale[src]

Methods from Deref<Target = Vec3>

pub fn x_mut(&mut self) -> &mut f32[src]

Returns a mutable reference to element x.

pub fn y_mut(&mut self) -> &mut f32[src]

Returns a mutable reference to element y.

pub fn z_mut(&mut self) -> &mut f32[src]

Returns a mutable reference to element z.

pub fn set_x(&mut self, x: f32)[src]

Sets element x.

pub fn set_y(&mut self, y: f32)[src]

Sets element y.

pub fn set_z(&mut self, z: f32)[src]

Sets element z.

Trait Implementations

impl Clone for NonUniformScale[src]

impl Copy for NonUniformScale[src]

impl Debug for NonUniformScale[src]

impl Default for NonUniformScale[src]

impl Deref for NonUniformScale[src]

type Target = Vec3

The resulting type after dereferencing.

impl DerefMut for NonUniformScale[src]

impl DeserializeProperty for NonUniformScale[src]

impl Display for NonUniformScale[src]

impl<'_> From<&'_ Vec3> for NonUniformScale[src]

impl<'_> From<&'_ mut Vec3> for NonUniformScale[src]

impl From<Vec3> for NonUniformScale[src]

impl PartialEq<NonUniformScale> for NonUniformScale[src]

impl Properties for NonUniformScale[src]

impl Property for NonUniformScale[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T> FromResources for T where
    T: Default
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<P> PropertiesVal for P where
    P: Properties
[src]

impl<T> Resource for T where
    T: 'static + Send + Sync
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,