Struct rsvg::xml::ProcessingInstructionSink
source · struct ProcessingInstructionSink(Rc<RefCell<ProcessingInstructionData>>);
Tuple Fields§
§0: Rc<RefCell<ProcessingInstructionData>>
Trait Implementations§
source§impl TokenSink for ProcessingInstructionSink
impl TokenSink for ProcessingInstructionSink
source§fn process_token(&mut self, token: Token)
fn process_token(&mut self, token: Token)
Process a token.
§fn query_state_change(&mut self) -> Option<XmlState>
fn query_state_change(&mut self) -> Option<XmlState>
The tokenizer will call this after emitting any start tag.
This allows the tree builder to change the tokenizer’s state.
By default no state changes occur.
Auto Trait Implementations§
impl !RefUnwindSafe for ProcessingInstructionSink
impl !Send for ProcessingInstructionSink
impl !Sync for ProcessingInstructionSink
impl Unpin for ProcessingInstructionSink
impl !UnwindSafe for ProcessingInstructionSink
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
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.