pub struct UserData {
pub text: Option<String>,
pub color: Option<Rgba<u8>>,
}
Expand description
User-provided metadata which can be attached to various items.
Aseprite allows attaching user data to several entities, both via the GUI and via extensions. For an example see the discussion How to associate data to each cel.
Fields§
§text: Option<String>
User-provided string data.
color: Option<Rgba<u8>>
User-provided color.
Trait Implementations§
source§impl PartialEq for UserData
impl PartialEq for UserData
impl StructuralPartialEq for UserData
Auto Trait Implementations§
impl Freeze for UserData
impl RefUnwindSafe for UserData
impl Send for UserData
impl Sync for UserData
impl Unpin for UserData
impl UnwindSafe for UserData
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