Struct rusty_spine::controller::SkeletonRenderable
source · pub struct SkeletonRenderable {
pub slot_index: usize,
pub vertices: Vec<[f32; 2]>,
pub uvs: Vec<[f32; 2]>,
pub indices: Vec<u16>,
pub color: Color,
pub dark_color: Color,
pub blend_mode: BlendMode,
pub premultiplied_alpha: bool,
pub attachment_renderer_object: Option<*const c_void>,
}
Fields§
§slot_index: usize
§vertices: Vec<[f32; 2]>
§uvs: Vec<[f32; 2]>
§indices: Vec<u16>
§color: Color
§dark_color: Color
§blend_mode: BlendMode
§premultiplied_alpha: bool
§attachment_renderer_object: Option<*const c_void>
Trait Implementations§
source§impl Clone for SkeletonRenderable
impl Clone for SkeletonRenderable
source§fn clone(&self) -> SkeletonRenderable
fn clone(&self) -> SkeletonRenderable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SkeletonRenderable
impl RefUnwindSafe for SkeletonRenderable
impl !Send for SkeletonRenderable
impl !Sync for SkeletonRenderable
impl Unpin for SkeletonRenderable
impl UnwindSafe for SkeletonRenderable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more