pub struct CollectOptions {
pub comments: CommentCollectionStrategy,
pub tokens: bool,
}Expand description
Options for collecting comments and tokens.
Fields§
§comments: CommentCollectionStrategyInclude comments in the result.
tokens: boolInclude tokens in the result.
Trait Implementations§
Source§impl Clone for CollectOptions
impl Clone for CollectOptions
Auto Trait Implementations§
impl Freeze for CollectOptions
impl RefUnwindSafe for CollectOptions
impl Send for CollectOptions
impl Sync for CollectOptions
impl Unpin for CollectOptions
impl UnsafeUnpin for CollectOptions
impl UnwindSafe for CollectOptions
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