pub struct CodeRange<'a> {
pub name: &'a str,
pub reference: &'a str,
pub range: &'a str,
pub codes: &'a [Code<'a>],
}
Expand description
Represents a range of codes, i.e Informational (1xx)
Fields§
§name: &'a str
The name of the range, i.e Informational
reference: &'a str
The MDN reference for the documentation for this range
range: &'a str
The range of codes, i.e 1xx
codes: &'a [Code<'a>]
The codes in this range
Trait Implementations§
impl<'a> Eq for CodeRange<'a>
impl<'a> StructuralPartialEq for CodeRange<'a>
Auto Trait Implementations§
impl<'a> Freeze for CodeRange<'a>
impl<'a> RefUnwindSafe for CodeRange<'a>
impl<'a> Send for CodeRange<'a>
impl<'a> Sync for CodeRange<'a>
impl<'a> Unpin for CodeRange<'a>
impl<'a> UnwindSafe for CodeRange<'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