Struct geo_aid::script::unroll::UnrolledExpression
source · pub struct UnrolledExpression {
pub data: Rc<UnrolledExpressionData>,
pub ty: Type,
pub span: Span,
pub weight: f64,
}Fields§
§data: Rc<UnrolledExpressionData>§ty: Type§span: Span§weight: f64Implementations§
source§impl UnrolledExpression
impl UnrolledExpression
pub fn clone_with_weight(&self, weight: f64) -> Self
sourcepub fn has_distance_literal(&self) -> Option<Span>
pub fn has_distance_literal(&self) -> Option<Span>
Panics
Never.
Trait Implementations§
source§impl Clone for UnrolledExpression
impl Clone for UnrolledExpression
source§fn clone(&self) -> UnrolledExpression
fn clone(&self) -> UnrolledExpression
Returns a copy 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 UnrolledExpression
impl Debug for UnrolledExpression
Auto Trait Implementations§
impl RefUnwindSafe for UnrolledExpression
impl !Send for UnrolledExpression
impl !Sync for UnrolledExpression
impl Unpin for UnrolledExpression
impl UnwindSafe for UnrolledExpression
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