pub struct MarkRule {
pub tag: String,
pub attrs: Vec<(String, Vec<AttrPart>)>,
}Expand description
A custom mark (ProseMirror only): a wrapping tag with attributes read from the mark’s own value map.
Fields§
§tag: String§attrs: Vec<(String, Vec<AttrPart>)>Auto Trait Implementations§
impl Freeze for MarkRule
impl RefUnwindSafe for MarkRule
impl Send for MarkRule
impl Sync for MarkRule
impl Unpin for MarkRule
impl UnsafeUnpin for MarkRule
impl UnwindSafe for MarkRule
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