[−][src]Struct rask_engine::resources::TextureRange
Fields
start: (u32, u32)
size: (u32, u32)
target_size: (u32, u32)
Implementations
impl TextureRange
[src]
pub fn new(start: (u32, u32), size: (u32, u32), target_size: (u32, u32)) -> Self
[src]
pub fn into_floats(self) -> [f32; 4]
[src]
Trait Implementations
impl Clone for TextureRange
[src]
fn clone(&self) -> TextureRange
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TextureRange
[src]
impl Debug for TextureRange
[src]
impl PartialEq<TextureRange> for TextureRange
[src]
fn eq(&self, other: &TextureRange) -> bool
[src]
fn ne(&self, other: &TextureRange) -> bool
[src]
impl StructuralPartialEq for TextureRange
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextureRange
impl Send for TextureRange
impl Sync for TextureRange
impl Unpin for TextureRange
impl UnwindSafe for TextureRange
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
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<S, T> Collide<[T]> for S where
T: Collide<S>,
[src]
T: Collide<S>,
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
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
const ALIGN: usize
type Init = T
The type for initializers.
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)
impl<T> Resource for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
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>,