pub struct DropElement {
pub drop: DropType,
pub min_count: Option<f32>,
pub max_count: Option<f32>,
}
Fields§
§drop: DropType
§min_count: Option<f32>
§max_count: Option<f32>
Trait Implementations§
Source§impl Clone for DropElement
impl Clone for DropElement
Source§fn clone(&self) -> DropElement
fn clone(&self) -> DropElement
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 DropElement
impl Debug for DropElement
Source§impl<'de> Deserialize<'de> for DropElement
impl<'de> Deserialize<'de> for DropElement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DropElement
impl RefUnwindSafe for DropElement
impl Send for DropElement
impl Sync for DropElement
impl Unpin for DropElement
impl UnwindSafe for DropElement
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