pub struct AttributesAccept<'o, O, Sep> { /* private fields */ }Expand description
A sequence acceptor that writes attributes. Every attribute will be surrounded with “#[]”
Implementations§
Source§impl<'o, O> AttributesAccept<'o, O, Str<&'static str>>
impl<'o, O> AttributesAccept<'o, O, Str<&'static str>>
Source§impl<'o, O> AttributesAccept<'o, O, Str<&'static str>>
impl<'o, O> AttributesAccept<'o, O, Str<&'static str>>
pub fn with_separator(output: &'o mut O, separator: &'static str) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'o, O, Sep> Freeze for AttributesAccept<'o, O, Sep>where
Sep: Freeze,
impl<'o, O, Sep> RefUnwindSafe for AttributesAccept<'o, O, Sep>where
O: RefUnwindSafe,
Sep: RefUnwindSafe,
impl<'o, O, Sep> Send for AttributesAccept<'o, O, Sep>
impl<'o, O, Sep> Sync for AttributesAccept<'o, O, Sep>
impl<'o, O, Sep> Unpin for AttributesAccept<'o, O, Sep>where
Sep: Unpin,
impl<'o, O, Sep> !UnwindSafe for AttributesAccept<'o, O, Sep>
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