pub struct ArrayFill {
pub fill: Expression,
pub n: Expression,
pub source_range: Range,
}
Expand description
Array fill expression, e.g. [a; n]
.
Fields§
§fill: Expression
The a
in [a; n]
.
n: Expression
The n
in [a; n]
.
source_range: Range
The range in source.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ArrayFill
impl Send for ArrayFill
impl Sync for ArrayFill
impl Unpin for ArrayFill
impl !UnwindSafe for ArrayFill
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