pub struct BomResult<'a> {
pub bom: &'a str,
pub text: &'a str,
}Expand description
BOM strip result.
Fields§
§bom: &'a strEither empty or the BOM sequence.
text: &'a strText with any leading BOM removed.
Auto Trait Implementations§
impl<'a> Freeze for BomResult<'a>
impl<'a> RefUnwindSafe for BomResult<'a>
impl<'a> Send for BomResult<'a>
impl<'a> Sync for BomResult<'a>
impl<'a> Unpin for BomResult<'a>
impl<'a> UnsafeUnpin for BomResult<'a>
impl<'a> UnwindSafe for BomResult<'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