Struct rusty_spine::SkeletonRenderable
source · [−]pub struct SkeletonRenderable {
pub slot_index: usize,
pub vertices: Vec<[f32; 3]>,
pub uvs: Vec<[f32; 2]>,
pub indices: Vec<u32>,
pub color: Color,
pub blend_mode: BlendMode,
pub premultiplied_alpha: bool,
pub attachment_renderer_object: Option<*const c_void>,
}Fields
slot_index: usizevertices: Vec<[f32; 3]>uvs: Vec<[f32; 2]>indices: Vec<u32>color: Colorblend_mode: BlendModepremultiplied_alpha: boolattachment_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