Enum geo_aid::script::compile::CompiledEntity
source · pub enum CompiledEntity {
Point(CompiledPoint),
Scalar(CompiledScalar),
Circle(CompiledCircle),
Line(CompiledLine),
None,
}Variants§
Implementations§
source§impl CompiledEntity
impl CompiledEntity
pub fn as_point(&self) -> Option<&CompiledPoint>
pub fn as_scalar(&self) -> Option<&CompiledScalar>
pub fn as_line(&self) -> Option<&CompiledLine>
pub fn as_circle(&self) -> Option<&CompiledCircle>
Trait Implementations§
source§impl Clone for CompiledEntity
impl Clone for CompiledEntity
source§fn clone(&self) -> CompiledEntity
fn clone(&self) -> CompiledEntity
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 moreAuto Trait Implementations§
impl RefUnwindSafe for CompiledEntity
impl Send for CompiledEntity
impl Sync for CompiledEntity
impl Unpin for CompiledEntity
impl UnwindSafe for CompiledEntity
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
source§impl<T> CloneWithNode for Twhere
T: Clone,
impl<T> CloneWithNode for Twhere
T: Clone,
fn clone_with_node(&mut self) -> T
fn clone_without_node(&self) -> T
source§impl<T> Convert for T
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more