Struct rusty_spine::draw::SimpleRenderable
source · [−]pub struct SimpleRenderable {
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 attachment_renderer_object: Option<*const c_void>,
}Fields
slot_index: i32vertices: Vec<[f32; 2]>uvs: Vec<[f32; 2]>indices: Vec<u16>color: Colordark_color: Colorblend_mode: BlendModeattachment_renderer_object: Option<*const c_void>Auto Trait Implementations
impl RefUnwindSafe for SimpleRenderable
impl !Send for SimpleRenderable
impl !Sync for SimpleRenderable
impl Unpin for SimpleRenderable
impl UnwindSafe for SimpleRenderable
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