pub enum IntegerParameter {
Literal(i64),
Variable(String),
}Available on crate feature
parse only.Expand description
An integer literal or a named parameter in a type expression.
Variants§
Implementations§
Source§impl IntegerParameter
impl IntegerParameter
Sourcepub fn is_concrete(&self) -> bool
pub fn is_concrete(&self) -> bool
Returns whether this parameter is a literal rather than a variable.
Trait Implementations§
Source§impl Clone for IntegerParameter
impl Clone for IntegerParameter
Source§impl Debug for IntegerParameter
impl Debug for IntegerParameter
Source§impl Display for IntegerParameter
impl Display for IntegerParameter
Source§impl PartialEq for IntegerParameter
impl PartialEq for IntegerParameter
impl StructuralPartialEq for IntegerParameter
Auto Trait Implementations§
impl Forget for IntegerParameter
impl Freeze for IntegerParameter
impl Move for IntegerParameter
impl RefUnwindSafe for IntegerParameter
impl Send for IntegerParameter
impl Sync for IntegerParameter
impl Unpin for IntegerParameter
impl UnsafeUnpin for IntegerParameter
impl UnwindSafe for IntegerParameter
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