pub struct PathAttachmentData { /* private fields */ }Implementations§
Source§impl PathAttachmentData
impl PathAttachmentData
pub const DEFAULT_COLOR: [f32; 4]
pub fn get_name(&self) -> &str
pub fn get_lengths(&self) -> &[f32]
pub fn get_lengths_mut(&mut self) -> &mut Vec<f32>
pub fn get_closed(&self) -> bool
pub fn set_closed(&mut self, closed: bool)
pub fn get_constant_speed(&self) -> bool
pub fn set_constant_speed(&mut self, constant_speed: bool)
pub fn get_color(&self) -> [f32; 4]
pub fn get_color_mut(&mut self) -> &mut [f32; 4]
Trait Implementations§
Source§impl Clone for PathAttachmentData
impl Clone for PathAttachmentData
Source§fn clone(&self) -> PathAttachmentData
fn clone(&self) -> PathAttachmentData
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 moreAuto Trait Implementations§
impl Freeze for PathAttachmentData
impl RefUnwindSafe for PathAttachmentData
impl Send for PathAttachmentData
impl Sync for PathAttachmentData
impl Unpin for PathAttachmentData
impl UnsafeUnpin for PathAttachmentData
impl UnwindSafe for PathAttachmentData
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