Struct amethyst_renderer::TextureOffset [−][src]
Material reference this part of the texture
Fields
u: (f32, f32)
Start and end offset for U coordinate
v: (f32, f32)
Start and end offset for V coordinate
Trait Implementations
impl Debug for TextureOffset[src]
impl Debug for TextureOffsetfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for TextureOffset[src]
impl Clone for TextureOffsetfn clone(&self) -> TextureOffset[src]
fn clone(&self) -> TextureOffsetReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for TextureOffset[src]
impl PartialEq for TextureOffsetfn eq(&self, other: &TextureOffset) -> bool[src]
fn eq(&self, other: &TextureOffset) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TextureOffset) -> bool[src]
fn ne(&self, other: &TextureOffset) -> boolThis method tests for !=.
impl Default for TextureOffset[src]
impl Default for TextureOffsetAuto Trait Implementations
impl Send for TextureOffset
impl Send for TextureOffsetimpl Sync for TextureOffset
impl Sync for TextureOffset