pub enum Keep {
Yes,
No,
NeedSource,
}Expand description
What a walk should do with one .rs file it found.
遍历发现一个 .rs 文件后应当做什么。
Variants§
Yes
Take it without reading it. 直接收下,不读取内容。
No
Skip it. 跳过。
NeedSource
Read the text and ask again with it. 读出文本后再问一次。
Trait Implementations§
impl Copy for Keep
impl Eq for Keep
impl StructuralPartialEq for Keep
Auto Trait Implementations§
impl Freeze for Keep
impl RefUnwindSafe for Keep
impl Send for Keep
impl Sync for Keep
impl Unpin for Keep
impl UnsafeUnpin for Keep
impl UnwindSafe for Keep
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