pub struct GuideEvaluator { /* private fields */ }Implementations§
Source§impl GuideEvaluator
impl GuideEvaluator
pub fn new(width: f64, height: f64) -> Result<Self, GeometryError>
pub fn value(&self, name: &str) -> Result<f64, GeometryError>
pub fn apply_adjust_values( &mut self, adjustments: &[Guide], overrides: &BTreeMap<String, f64>, ) -> Result<(), GeometryError>
pub fn evaluate_guides(&mut self, guides: &[Guide]) -> Result<(), GeometryError>
pub fn evaluate_path( &self, commands: &[PathCommand], ) -> Result<Vec<EvaluatedPathCommand>, GeometryError>
Trait Implementations§
Source§impl Clone for GuideEvaluator
impl Clone for GuideEvaluator
Source§fn clone(&self) -> GuideEvaluator
fn clone(&self) -> GuideEvaluator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for GuideEvaluator
impl RefUnwindSafe for GuideEvaluator
impl Send for GuideEvaluator
impl Sync for GuideEvaluator
impl Unpin for GuideEvaluator
impl UnsafeUnpin for GuideEvaluator
impl UnwindSafe for GuideEvaluator
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