Struct HeaderLine
pub struct HeaderLine(/* private fields */);Expand description
Header line wrapper.
Implementations§
§impl HeaderLine
impl HeaderLine
pub const fn new(field: HeaderField) -> HeaderLine
pub const fn new(field: HeaderField) -> HeaderLine
Creates a header line.
pub const fn field(&self) -> &HeaderField
pub const fn field(&self) -> &HeaderField
Returns the wrapped field.
Trait Implementations§
§impl Clone for HeaderLine
impl Clone for HeaderLine
§fn clone(&self) -> HeaderLine
fn clone(&self) -> HeaderLine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for HeaderLine
impl Debug for HeaderLine
§impl Display for HeaderLine
impl Display for HeaderLine
§impl Hash for HeaderLine
impl Hash for HeaderLine
§impl Ord for HeaderLine
impl Ord for HeaderLine
§impl PartialEq for HeaderLine
impl PartialEq for HeaderLine
§impl PartialOrd for HeaderLine
impl PartialOrd for HeaderLine
impl Eq for HeaderLine
impl StructuralPartialEq for HeaderLine
Auto Trait Implementations§
impl Freeze for HeaderLine
impl RefUnwindSafe for HeaderLine
impl Send for HeaderLine
impl Sync for HeaderLine
impl Unpin for HeaderLine
impl UnsafeUnpin for HeaderLine
impl UnwindSafe for HeaderLine
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