pub struct UnboundedVariable {
pub name: Token,
pub loc: FileLocation,
pub definition: Reference<Token, TypeDefinitionTarget>,
}
Expand description
A “one or more” variables of some type.
Fields§
§name: Token
Name of the “one or more” variable.
loc: FileLocation
Location of the unbounded variable.
definition: Reference<Token, TypeDefinitionTarget>
Type definition that each of the variables should have.
Trait Implementations§
Source§impl Clone for UnboundedVariable
impl Clone for UnboundedVariable
Source§fn clone(&self) -> UnboundedVariable
fn clone(&self) -> UnboundedVariable
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 UnboundedVariable
impl Debug for UnboundedVariable
Source§impl Display for UnboundedVariable
impl Display for UnboundedVariable
Source§impl PartialEq for UnboundedVariable
impl PartialEq for UnboundedVariable
impl StructuralPartialEq for UnboundedVariable
Auto Trait Implementations§
impl Freeze for UnboundedVariable
impl RefUnwindSafe for UnboundedVariable
impl !Send for UnboundedVariable
impl !Sync for UnboundedVariable
impl Unpin for UnboundedVariable
impl UnwindSafe for UnboundedVariable
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