pub struct ExtractedShortcode {
pub index: usize,
pub shortcode: Shortcode,
}Expand description
One extracted shortcode block, with its body parsed into a typed variant.
Fields§
§index: usize0-based index used in the placeholder sentinel.
shortcode: ShortcodeParsed shortcode (typed variants per Phase B).
Trait Implementations§
Source§impl Clone for ExtractedShortcode
impl Clone for ExtractedShortcode
Source§fn clone(&self) -> ExtractedShortcode
fn clone(&self) -> ExtractedShortcode
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 ExtractedShortcode
impl Debug for ExtractedShortcode
impl Eq for ExtractedShortcode
Source§impl PartialEq for ExtractedShortcode
impl PartialEq for ExtractedShortcode
impl StructuralPartialEq for ExtractedShortcode
Auto Trait Implementations§
impl Freeze for ExtractedShortcode
impl RefUnwindSafe for ExtractedShortcode
impl Send for ExtractedShortcode
impl Sync for ExtractedShortcode
impl Unpin for ExtractedShortcode
impl UnsafeUnpin for ExtractedShortcode
impl UnwindSafe for ExtractedShortcode
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,
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.