pub struct DrawableInfo { /* private fields */ }Implementations§
Source§impl DrawableInfo
impl DrawableInfo
pub fn from_mesh(mesh: &Moc3DrawableMesh) -> Self
pub fn texture_index(&self) -> i32
pub fn blend_mode(&self) -> Moc3DrawableBlendMode
pub fn opacity(&self) -> f32
pub fn draw_order(&self) -> f32
pub fn render_order(&self) -> i32
pub fn masks(&self) -> &[i32]
pub fn inverted_mask(&self) -> bool
pub fn bounds(&self) -> Option<ClippingRect>
Trait Implementations§
Source§impl Clone for DrawableInfo
impl Clone for DrawableInfo
Source§fn clone(&self) -> DrawableInfo
fn clone(&self) -> DrawableInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DrawableInfo
impl Debug for DrawableInfo
Source§impl PartialEq for DrawableInfo
impl PartialEq for DrawableInfo
Source§fn eq(&self, other: &DrawableInfo) -> bool
fn eq(&self, other: &DrawableInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DrawableInfo
Auto Trait Implementations§
impl Freeze for DrawableInfo
impl RefUnwindSafe for DrawableInfo
impl Send for DrawableInfo
impl Sync for DrawableInfo
impl Unpin for DrawableInfo
impl UnsafeUnpin for DrawableInfo
impl UnwindSafe for DrawableInfo
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