pub enum ParsedDuration {
Duration(Duration),
Ref(TokenStream),
}
Variants§
Duration(Duration)
Ref(TokenStream)
Implementations§
Source§impl ParsedDuration
impl ParsedDuration
pub fn to_error_display(&self, fn_name: &str) -> String
pub fn into_token_stream(self) -> TokenStream
Auto Trait Implementations§
impl Freeze for ParsedDuration
impl RefUnwindSafe for ParsedDuration
impl !Send for ParsedDuration
impl !Sync for ParsedDuration
impl Unpin for ParsedDuration
impl UnwindSafe for ParsedDuration
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