#[non_exhaustive]pub enum TokenPlacement {
BeforeFirstFile,
Anywhere,
}Expand description
Where the token field must be.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for TokenPlacement
impl Clone for TokenPlacement
impl Copy for TokenPlacement
Source§impl Debug for TokenPlacement
impl Debug for TokenPlacement
impl Eq for TokenPlacement
Source§impl PartialEq for TokenPlacement
impl PartialEq for TokenPlacement
impl StructuralPartialEq for TokenPlacement
Auto Trait Implementations§
impl Freeze for TokenPlacement
impl RefUnwindSafe for TokenPlacement
impl Send for TokenPlacement
impl Sync for TokenPlacement
impl Unpin for TokenPlacement
impl UnsafeUnpin for TokenPlacement
impl UnwindSafe for TokenPlacement
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