Struct k::link::Visual [−][src]
Fields
name: String
geometry: Geometry<T>
material: Material<T>
Implementations
impl<T> Visual<T> where
T: RealField,
[src]
T: RealField,
pub fn new(
name: String,
origin: Isometry3<T>,
geometry: Geometry<T>,
material: Material<T>
) -> Self
[src]
name: String,
origin: Isometry3<T>,
geometry: Geometry<T>,
material: Material<T>
) -> Self
pub fn set_origin(&mut self, origin: Isometry3<T>)
[src]
pub fn origin(&self) -> &Isometry3<T>
[src]
pub fn clear_world_transform(&mut self)
[src]
pub fn set_world_transform(&mut self, trans: Isometry3<T>)
[src]
pub fn world_transform(&self) -> &Option<Isometry3<T>>
[src]
Trait Implementations
impl<T: Clone + RealField> Clone for Visual<T>
[src]
impl<T: Debug + RealField> Debug for Visual<T>
[src]
impl<T> From<Visual> for Visual<T> where
T: RealField,
[src]
T: RealField,
Auto Trait Implementations
impl<T> RefUnwindSafe for Visual<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Visual<T>
impl<T> Sync for Visual<T>
impl<T> Unpin for Visual<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Visual<T> where
T: UnwindSafe,
T: UnwindSafe,
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,