pub struct CastOptions {
pub shift: bool,
}
Expand description
Options for cast operation
Fields§
§shift: bool
shift: bool
-> Shift integer values up and down
default: false
Trait Implementations§
Source§impl Clone for CastOptions
impl Clone for CastOptions
Source§fn clone(&self) -> CastOptions
fn clone(&self) -> CastOptions
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 CastOptions
impl Debug for CastOptions
Auto Trait Implementations§
impl Freeze for CastOptions
impl RefUnwindSafe for CastOptions
impl Send for CastOptions
impl Sync for CastOptions
impl Unpin for CastOptions
impl UnwindSafe for CastOptions
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