pub struct LengthSpec { /* private fields */ }
Implementations§
Source§impl LengthSpec
impl LengthSpec
Trait Implementations§
Source§impl Clone for LengthSpec
impl Clone for LengthSpec
Source§fn clone(&self) -> LengthSpec
fn clone(&self) -> LengthSpec
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 Debug for LengthSpec
impl Debug for LengthSpec
Source§impl Default for LengthSpec
impl Default for LengthSpec
Source§fn default() -> LengthSpec
fn default() -> LengthSpec
Returns the “default value” for a type. Read more
Source§impl Parser for LengthSpec
Available on crate feature parser
only.
impl Parser for LengthSpec
Available on crate feature
parser
only.type Item = LengthSpec
Source§fn parse_span(input: Span<'_>) -> ParseResult<'_, Self::Item>
fn parse_span(input: Span<'_>) -> ParseResult<'_, Self::Item>
Parses the
input
into the specified Item
type.Source§fn from_str(input: &str) -> Result<Self::Item, Err<ParseError<'_>>>
fn from_str(input: &str) -> Result<Self::Item, Err<ParseError<'_>>>
Uses the
Parser::parse
method to parse the input and, if successful,
discards the unparsed remaining input.Source§impl PartialEq for LengthSpec
impl PartialEq for LengthSpec
impl Eq for LengthSpec
impl StructuralPartialEq for LengthSpec
Auto Trait Implementations§
impl Freeze for LengthSpec
impl RefUnwindSafe for LengthSpec
impl Send for LengthSpec
impl Sync for LengthSpec
impl Unpin for LengthSpec
impl UnwindSafe for LengthSpec
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