pub struct Seq { /* private fields */ }
Implementations
sourceimpl Seq
impl Seq
pub const fn new() -> Seq
pub fn set_len(&mut self, len: usize)
pub fn push(&mut self, value: Var)
pub fn insert(&mut self, index: usize, value: Var)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn pop(&mut self) -> Option<ClonedVar>
pub fn clear(&mut self)
pub fn iter(&self) -> SeqIteratorⓘNotable traits for SeqIteratorimpl Iterator for SeqIterator type Item = Var;
Trait Implementations
sourceimpl IntoIterator for Seq
impl IntoIterator for Seq
Auto Trait Implementations
impl RefUnwindSafe for Seq
impl !Send for Seq
impl !Sync for Seq
impl Unpin for Seq
impl UnwindSafe for Seq
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more