pub enum SvgChangeType {
ChangeAttr {
attr_name: &'static str,
new_value: String,
},
ChangeAttrStyle {
attr_style_name: &'static str,
new_value: String,
},
ChangeText {
text: String,
},
}Expand description
Типы изменений элемента SVG
Variants§
ChangeAttr
Изменение атрибута
ChangeAttrStyle
Изменение одного параметра в атрибуте style
ChangeText
Изменение текста элемента
Trait Implementations§
Source§impl Clone for SvgChangeType
impl Clone for SvgChangeType
Source§fn clone(&self) -> SvgChangeType
fn clone(&self) -> SvgChangeType
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 moreAuto Trait Implementations§
impl Freeze for SvgChangeType
impl RefUnwindSafe for SvgChangeType
impl Send for SvgChangeType
impl Sync for SvgChangeType
impl Unpin for SvgChangeType
impl UnsafeUnpin for SvgChangeType
impl UnwindSafe for SvgChangeType
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