Struct rusty_spine::SkeletonRenderable
source · [−]pub struct SkeletonRenderable {
pub slot_index: i32,
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: i32
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
sourceimpl Clone for SkeletonRenderable
impl Clone for SkeletonRenderable
sourcefn clone(&self) -> SkeletonRenderable
fn clone(&self) -> SkeletonRenderable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for SkeletonRenderable
impl !Send for SkeletonRenderable
impl !Sync for SkeletonRenderable
impl Unpin for SkeletonRenderable
impl UnwindSafe for SkeletonRenderable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more