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