Struct geo_aid::script::unroll::Properties
source · pub struct Properties { /* private fields */ }
Implementations§
source§impl Properties
impl Properties
pub fn finish(self, context: &CompileContext)
pub fn get<T: FromProperty>(&mut self, property: &'static str) -> Property<T>
sourcepub fn try_get<T: FromProperty>(
&mut self,
property: &str
) -> Result<Property<T>, Error>
pub fn try_get<T: FromProperty>( &mut self, property: &str ) -> Result<Property<T>, Error>
Errors
Returns an error if the value exists, but is invalid for the desired type.
pub fn merge_with(self, other: Properties) -> Self
Trait Implementations§
source§impl Clone for Properties
impl Clone for Properties
source§impl Debug for Properties
impl Debug for Properties
source§impl Default for Properties
impl Default for Properties
source§impl Drop for Properties
impl Drop for Properties
source§impl From<Option<DisplayProperties>> for Properties
impl From<Option<DisplayProperties>> for Properties
source§fn from(value: Option<DisplayProperties>) -> Self
fn from(value: Option<DisplayProperties>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
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