pub struct ChoiceGroupParser { /* private fields */ }Expand description
Simple XML parser for choice groups using string manipulation
This is a simplified implementation that uses string parsing instead of event-based parsing to avoid borrowing issues. It’s sufficient for the infrastructure requirements.
Implementations§
Source§impl ChoiceGroupParser
impl ChoiceGroupParser
Sourcepub fn parse_choice_group<T: XsdChoiceGroup>(
&self,
container_element: &str,
) -> Result<T>
pub fn parse_choice_group<T: XsdChoiceGroup>( &self, container_element: &str, ) -> Result<T>
Parse a choice group element by delegating to appropriate handlers
Auto Trait Implementations§
impl Freeze for ChoiceGroupParser
impl RefUnwindSafe for ChoiceGroupParser
impl Send for ChoiceGroupParser
impl Sync for ChoiceGroupParser
impl Unpin for ChoiceGroupParser
impl UnsafeUnpin for ChoiceGroupParser
impl UnwindSafe for ChoiceGroupParser
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more