pub struct AttributeBuilder {
pub key: String,
pub value: String,
pub state: AttributeParseState,
}
Fields§
§key: String
§value: String
§state: AttributeParseState
Implementations§
Source§impl AttributeBuilder
impl AttributeBuilder
pub fn new() -> AttributeBuilder
pub fn is_in_quote(&self) -> bool
pub fn pop_attribute_to( &mut self, attributes: &mut Attributes, ) -> &mut AttributeBuilder
pub fn push_char_to_key(&mut self, char: char) -> &mut AttributeBuilder
pub fn push_char_to_value(&mut self, char: char) -> &mut AttributeBuilder
pub fn key_state(&mut self) -> &mut AttributeBuilder
pub fn assign_state(&mut self) -> &mut AttributeBuilder
pub fn value_state(&mut self) -> &mut AttributeBuilder
pub fn quoted_value_state(&mut self, quote: char) -> &mut AttributeBuilder
Trait Implementations§
Source§impl Debug for AttributeBuilder
impl Debug for AttributeBuilder
Auto Trait Implementations§
impl Freeze for AttributeBuilder
impl RefUnwindSafe for AttributeBuilder
impl Send for AttributeBuilder
impl Sync for AttributeBuilder
impl Unpin for AttributeBuilder
impl UnwindSafe for AttributeBuilder
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