Struct lorem_rustum::LoremRustum
source · pub struct LoremRustum {
pub body: Vec<&'static str>,
pub length: usize,
}
Fields§
§body: Vec<&'static str>
§length: usize
Implementations§
source§impl LoremRustum
impl LoremRustum
pub fn new(length: usize) -> LoremRustum
pub fn default() -> LoremRustum
Trait Implementations§
source§impl Clone for LoremRustum
impl Clone for LoremRustum
source§fn clone(&self) -> LoremRustum
fn clone(&self) -> LoremRustum
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LoremRustum
impl Debug for LoremRustum
source§impl PartialEq for LoremRustum
impl PartialEq for LoremRustum
source§fn eq(&self, other: &LoremRustum) -> bool
fn eq(&self, other: &LoremRustum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for LoremRustum
impl ToString for LoremRustum
impl StructuralPartialEq for LoremRustum
Auto Trait Implementations§
impl Freeze for LoremRustum
impl RefUnwindSafe for LoremRustum
impl Send for LoremRustum
impl Sync for LoremRustum
impl Unpin for LoremRustum
impl UnwindSafe for LoremRustum
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