enum ClassTokenSerde {
Start,
Middle,
End,
Custom(usize),
}Variants§
Start
Prepend before the whole sequence (index 0).
Middle
Insert at the middle of the original sequence (index L/2).
Incompatible with step() calls.
End
Append after the whole sequence (index L).
Incompatible with step() calls.
Custom(usize)
Insert at an explicit index into the original sequence.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClassTokenSerde
impl<'de> Deserialize<'de> for ClassTokenSerde
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClassTokenSerde
impl RefUnwindSafe for ClassTokenSerde
impl Send for ClassTokenSerde
impl Sync for ClassTokenSerde
impl Unpin for ClassTokenSerde
impl UnsafeUnpin for ClassTokenSerde
impl UnwindSafe for ClassTokenSerde
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