pub struct HtmlProcessingInstruction {
pub target: String,
pub data: String,
}Expand description
An HTML processing instruction (<?target data?>).
Fields§
§target: StringThe target of the processing instruction.
data: StringThe data of the processing instruction.
Implementations§
Source§impl HtmlProcessingInstruction
impl HtmlProcessingInstruction
Sourcepub fn new(target: String, data: String) -> HtmlProcessingInstruction
pub fn new(target: String, data: String) -> HtmlProcessingInstruction
Creates a new HtmlProcessingInstruction with the given target and data.
Trait Implementations§
Source§impl Clone for HtmlProcessingInstruction
impl Clone for HtmlProcessingInstruction
Source§fn clone(&self) -> HtmlProcessingInstruction
fn clone(&self) -> HtmlProcessingInstruction
Returns a duplicate of the value. Read more
1.0.0 · 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 HtmlProcessingInstruction
impl Debug for HtmlProcessingInstruction
impl StructuralPartialEq for HtmlProcessingInstruction
Auto Trait Implementations§
impl Freeze for HtmlProcessingInstruction
impl RefUnwindSafe for HtmlProcessingInstruction
impl Send for HtmlProcessingInstruction
impl Sync for HtmlProcessingInstruction
impl Unpin for HtmlProcessingInstruction
impl UnsafeUnpin for HtmlProcessingInstruction
impl UnwindSafe for HtmlProcessingInstruction
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