pub struct ModConfig {
pub fmod: bool,
}Expand description
Configuration for Mod operations
Fields§
§fmod: boolDetermines the modulo operation behavior: false (default): Integer modulo - sign follows divisor (Python-style %) true: Floating-point modulo (C-style fmod) - sign follows dividend
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModConfig
impl RefUnwindSafe for ModConfig
impl Send for ModConfig
impl Sync for ModConfig
impl Unpin for ModConfig
impl UnsafeUnpin for ModConfig
impl UnwindSafe for ModConfig
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