pub struct EditorScanResult {
pub blocks: Vec<EditorShortcodeBlock>,
pub legacy_dash: bool,
}Expand description
Result of editor-side shortcode scanning.
Fields§
§blocks: Vec<EditorShortcodeBlock>§legacy_dash: boolTrue if any divider line in any grid block used the deprecated ---
form — including inside a block that never closed, whose dividers are
dropped. Per-divider detail lives on EditorDivider::legacy; this
stays as the cheap document-level answer.
Trait Implementations§
Source§impl Clone for EditorScanResult
impl Clone for EditorScanResult
Source§fn clone(&self) -> EditorScanResult
fn clone(&self) -> EditorScanResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EditorScanResult
impl Debug for EditorScanResult
Source§impl<'de> Deserialize<'de> for EditorScanResult
impl<'de> Deserialize<'de> for EditorScanResult
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 EditorScanResult
Source§impl PartialEq for EditorScanResult
impl PartialEq for EditorScanResult
Source§impl Serialize for EditorScanResult
impl Serialize for EditorScanResult
impl StructuralPartialEq for EditorScanResult
Auto Trait Implementations§
impl Freeze for EditorScanResult
impl RefUnwindSafe for EditorScanResult
impl Send for EditorScanResult
impl Sync for EditorScanResult
impl Unpin for EditorScanResult
impl UnsafeUnpin for EditorScanResult
impl UnwindSafe for EditorScanResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.