pub struct Embed {
pub kind: String,
pub args: String,
}Expand description
§Embed
Starts with LeftCurlyBrace of length 2.
Kind every token except Terminator until Pipe.
Args every token except Terminator until LeftCurlyBrace of length 2.
Examples:
{{youtube|dQw4w9WgXcQ}}HTML equivalent:
<iframe class="youtube" src="https://www.youtube.com/embed/dQw4w9WgXcQ"></iframe>Fields§
§kind: String§args: StringImplementations§
Trait Implementations§
impl Eq for Embed
impl StructuralPartialEq for Embed
Auto Trait Implementations§
impl Freeze for Embed
impl RefUnwindSafe for Embed
impl Send for Embed
impl Sync for Embed
impl Unpin for Embed
impl UnwindSafe for Embed
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