pub struct RecycleParams {
pub name: String,
pub recycling_schema: RecyclingSchema,
}Expand description
struct for passing parameters to the method recycle
Fields§
§name: StringName of your character.
recycling_schema: RecyclingSchemaImplementations§
Source§impl RecycleParams
impl RecycleParams
pub fn new(name: String, recycling_schema: RecyclingSchema) -> Self
Trait Implementations§
Source§impl Clone for RecycleParams
impl Clone for RecycleParams
Source§fn clone(&self) -> RecycleParams
fn clone(&self) -> RecycleParams
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RecycleParams
impl RefUnwindSafe for RecycleParams
impl Send for RecycleParams
impl Sync for RecycleParams
impl Unpin for RecycleParams
impl UnwindSafe for RecycleParams
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