[−][src]Struct sunshine::sprite::Sprite
Fields
x: f64
y: f64
player_distance: f64
texture_id: usize
Implementations
impl Sprite
[src]
Trait Implementations
impl Clone for Sprite
[src]
impl Copy for Sprite
[src]
impl PartialEq<Sprite> for Sprite
[src]
impl PartialOrd<Sprite> for Sprite
[src]
pub fn partial_cmp(&self, other: &Sprite) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Sprite) -> bool
[src]
pub fn le(&self, other: &Sprite) -> bool
[src]
pub fn gt(&self, other: &Sprite) -> bool
[src]
pub fn ge(&self, other: &Sprite) -> bool
[src]
impl StructuralPartialEq for Sprite
[src]
Auto Trait Implementations
impl RefUnwindSafe for Sprite
impl Send for Sprite
impl Sync for Sprite
impl Unpin for Sprite
impl UnwindSafe for Sprite
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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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>,