Enum weresocool_ast::lists::Index
source · pub enum Index {
Const {
indices: Vec<i64>,
},
Slice {
start: Option<i64>,
end: Option<i64>,
skip: i64,
},
Random {
n: i64,
seed: i64,
},
IndexAndTerm {
index: Box<Index>,
term: Term,
},
}
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq<Index> for Index
impl PartialEq<Index> for Index
impl StructuralPartialEq for Index
Auto Trait Implementations§
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
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