Skip to main content

CircleExt

Trait CircleExt 

Source
pub trait CircleExt {
    // Required method
    fn freedom(
        &self,
        lookup: impl Fn(ObjectId) -> Option<Freedom>,
    ) -> Option<Freedom>;
}
Expand description

Runtime helpers for Circle.

Required Methods§

Source

fn freedom( &self, lookup: impl Fn(ObjectId) -> Option<Freedom>, ) -> Option<Freedom>

Compute the overall freedom of this circle by merging the freedom of its start and center points. Returns None if a point lookup failed.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl CircleExt for Circle

Source§

fn freedom( &self, lookup: impl Fn(ObjectId) -> Option<Freedom>, ) -> Option<Freedom>

Implementors§