pub fn clone_from_slice(source: &[T]) -> Self {
        DynamicSizedStack {
            container: source.to_vec(),
        }
    }
/// Create a new stack by cloning the elements of the provided slice
///
/// # Example
///
/// ```
/// use smsflib::prelude::*;
///
/// let stack = DynamicSizedStack::<i32>::clone_from_slice(&[1, 2, 3]);
///
/// assert_eq!(stack.len(), 3);
/// assert_eq!(stack.get(0), Some(&3));
/// assert_eq!(stack.get(1), Some(&2));
/// assert_eq!(stack.get(2), Some(&1));
/// ```
Create a new stack by cloning the elements of the provided slice
Create a new stack by cloning the elements of the provided slice
pub fn clone_from_slice(source: &[T]) -> Self {
        DynamicSizedStack {
            container: source.to_vec(),
        }
    }
pub fn clone_from_slice ( source : & [ T ] ) -> Self { DynamicSizedStack { container : source . to_vec ( ) , } }
Create a new stack by cloning the elements of the provided slice
Create a new stack by cloning the elements of the provided slice
source
&[T]
example
```
use smsflib::prelude::*.

let stack = DynamicSizedStack::::clone_from_slice(&[1, 2, 3]).


` ` ` use smsflib :: prelude :: * . let stack = DynamicSizedStack :::: clone_from_slice ( & [ 1 2 3 ] ) .