pub struct LengthConstraint {
pub expandable: bool,
pub inner: Option<Box<Expression>>,
pub span: Span,
}
Fields§
§expandable: bool
§inner: Option<Box<Expression>>
§span: Span
Trait Implementations§
Source§impl Clone for LengthConstraint
impl Clone for LengthConstraint
Source§fn clone(&self) -> LengthConstraint
fn clone(&self) -> LengthConstraint
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 moreSource§impl<'de> Deserialize<'de> for LengthConstraint
impl<'de> Deserialize<'de> for LengthConstraint
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 LengthConstraint
impl RefUnwindSafe for LengthConstraint
impl Send for LengthConstraint
impl Sync for LengthConstraint
impl Unpin for LengthConstraint
impl UnwindSafe for LengthConstraint
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