Struct syn::LitByteStr
source · [−]pub struct LitByteStr { /* private fields */ }
Expand description
A byte string literal: b"foo"
.
Implementations
Trait Implementations
sourceimpl From<LitByteStr> for Lit
impl From<LitByteStr> for Lit
sourcefn from(e: LitByteStr) -> Lit
fn from(e: LitByteStr) -> Lit
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for LitByteStr
impl !Send for LitByteStr
impl !Sync for LitByteStr
impl Unpin for LitByteStr
impl UnwindSafe for LitByteStr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more