#[non_exhaustive]pub struct DropProfile {
pub name: String,
pub points: Vec<DropPoint>,
pub interpolate: Option<DropProfileInterpolation>,
}Expand description
A drop-profiles entry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§points: Vec<DropPoint>The fill-level and drop-probability pairs of a segmented profile.
interpolate: Option<DropProfileInterpolation>Trait Implementations§
Source§impl Clone for DropProfile
impl Clone for DropProfile
Source§impl Debug for DropProfile
impl Debug for DropProfile
impl Eq for DropProfile
Source§impl PartialEq for DropProfile
impl PartialEq for DropProfile
impl StructuralPartialEq for DropProfile
Auto Trait Implementations§
impl Forget for DropProfile
impl Freeze for DropProfilewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<DropPoint>: Freeze,
PhantomData<String>: Freeze,
impl Move for DropProfile
impl RefUnwindSafe for DropProfile
impl Send for DropProfilewhere
RawVecInner: Send,
impl Sync for DropProfilewhere
RawVecInner: Sync,
impl Unpin for DropProfile
impl UnsafeUnpin for DropProfilewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DropPoint>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DropProfilewhere
RawVecInner: UnwindSafe,
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