pub struct Mark {
pub type: String,
pub attrs: Attrs,
}
Expand description
基础标记实现 例如颜色 背景色 批注 @property type 标记类型 @property attrs 标记属性 @author string348040933@qq.com
Fields§
§type: String
§attrs: Attrs
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mark
impl<'de> Deserialize<'de> for Mark
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
impl Eq for Mark
impl StructuralPartialEq for Mark
Auto Trait Implementations§
impl Freeze for Mark
impl RefUnwindSafe for Mark
impl Send for Mark
impl Sync for Mark
impl Unpin for Mark
impl UnwindSafe for Mark
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