pub struct Segment<'a> {
pub source: &'a str,
pub delim: char,
pub fields: Vec<Field<'a>>,
}
Expand description
A generic bag o’ fields, representing an arbitrary segment.
Fields§
§source: &'a str
§delim: char
§fields: Vec<Field<'a>>
Implementations§
Trait Implementations§
impl<'a> StructuralPartialEq for Segment<'a>
Auto Trait Implementations§
impl<'a> Freeze for Segment<'a>
impl<'a> RefUnwindSafe for Segment<'a>
impl<'a> Send for Segment<'a>
impl<'a> Sync for Segment<'a>
impl<'a> Unpin for Segment<'a>
impl<'a> UnwindSafe for Segment<'a>
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