Fields
_list: Vec<Object>
Implementations
sourceimpl List
impl List
pub fn new() -> List
pub fn from_list(_list: List) -> List
pub fn from_int(_integer: i32) -> List
pub fn from_string(_string: String) -> List
sourcepub fn append_int(&mut self, _integer: i32) -> &mut Self
pub fn append_int(&mut self, _integer: i32) -> &mut Self
inline append for integer example
let mut one_elem = List::new(); one_elem .append_int(123) .append_int(123) .append_int(123) .append_int(123) .append_int(123) .append_int(123) .append_int(123); println!(“{}”, one_elem);
[123, 123, 123, 123, 123, 123, 123]
pub fn append_char(&mut self, _char: char) -> &mut Self
pub fn append_float(&mut self, _float: f32) -> &mut Self
pub fn append_string(&mut self, string: String) -> &mut Self
pub fn append_pstring(&mut self, _string: _String) -> &mut Self
pub fn append_object(&mut self, _object: Object) -> &mut Self
pub fn append_list(&mut self, _list: List) -> &mut Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more