Struct rusty_spine::SkeletonControllerSettings
source · [−]pub struct SkeletonControllerSettings {
pub premultiplied_alpha: bool,
pub cull_direction: CullDirection,
}
Fields
premultiplied_alpha: bool
cull_direction: CullDirection
Implementations
sourceimpl SkeletonControllerSettings
impl SkeletonControllerSettings
pub fn new() -> Self
pub fn with_premultiplied_alpha(self, premultiplied_alpha: bool) -> Self
pub fn with_cull_direction(self, cull_direction: CullDirection) -> Self
Trait Implementations
sourceimpl Clone for SkeletonControllerSettings
impl Clone for SkeletonControllerSettings
sourcefn clone(&self) -> SkeletonControllerSettings
fn clone(&self) -> SkeletonControllerSettings
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 moresourceimpl Debug for SkeletonControllerSettings
impl Debug for SkeletonControllerSettings
sourceimpl Default for SkeletonControllerSettings
impl Default for SkeletonControllerSettings
sourceimpl PartialEq<SkeletonControllerSettings> for SkeletonControllerSettings
impl PartialEq<SkeletonControllerSettings> for SkeletonControllerSettings
sourcefn eq(&self, other: &SkeletonControllerSettings) -> bool
fn eq(&self, other: &SkeletonControllerSettings) -> bool
impl Eq for SkeletonControllerSettings
impl StructuralEq for SkeletonControllerSettings
impl StructuralPartialEq for SkeletonControllerSettings
Auto Trait Implementations
impl RefUnwindSafe for SkeletonControllerSettings
impl Send for SkeletonControllerSettings
impl Sync for SkeletonControllerSettings
impl Unpin for SkeletonControllerSettings
impl UnwindSafe for SkeletonControllerSettings
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