pub enum RadiantSceneMessage {
AddArtboard {},
SelectArtboard {
id: u64,
},
SelectNode {
id: Option<u64>,
},
TransformNode {
id: u64,
position: [f32; 2],
scale: [f32; 2],
},
SetTransform {
id: u64,
position: [f32; 2],
scale: [f32; 2],
},
SetFillColor {
id: u64,
fill_color: Color32,
},
SetStrokeColor {
id: u64,
stroke_color: Color32,
},
SelectTool {
id: u32,
},
}
Variants§
AddArtboard
SelectArtboard
SelectNode
TransformNode
SetTransform
SetFillColor
SetStrokeColor
SelectTool
Trait Implementations§
Source§impl Clone for RadiantSceneMessage
impl Clone for RadiantSceneMessage
Source§fn clone(&self) -> RadiantSceneMessage
fn clone(&self) -> RadiantSceneMessage
Returns a duplicate of the value. Read more
1.0.0 · 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 RadiantSceneMessage
impl Debug for RadiantSceneMessage
Source§impl<'de> Deserialize<'de> for RadiantSceneMessage
impl<'de> Deserialize<'de> for RadiantSceneMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RadiantSceneMessage
impl RefUnwindSafe for RadiantSceneMessage
impl Send for RadiantSceneMessage
impl Sync for RadiantSceneMessage
impl Unpin for RadiantSceneMessage
impl UnwindSafe for RadiantSceneMessage
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