#[repr(C)]pub struct ecs_expr_var_t {
pub name: *mut c_char,
pub value: ecs_value_t,
pub owned: bool,
}Expand description
Storage for parser variables. Variables make it possible to parameterize expression strings, and are referenced with the $ operator (e.g. $var).
Fields§
§name: *mut c_char§value: ecs_value_t§owned: boolSet to false if ecs_vars_t should not take ownership of var
Trait Implementations§
Source§impl Clone for ecs_expr_var_t
impl Clone for ecs_expr_var_t
Source§fn clone(&self) -> ecs_expr_var_t
fn clone(&self) -> ecs_expr_var_t
Returns a duplicate 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 ecs_expr_var_t
impl Debug for ecs_expr_var_t
impl Copy for ecs_expr_var_t
Auto Trait Implementations§
impl Freeze for ecs_expr_var_t
impl RefUnwindSafe for ecs_expr_var_t
impl !Send for ecs_expr_var_t
impl !Sync for ecs_expr_var_t
impl Unpin for ecs_expr_var_t
impl UnwindSafe for ecs_expr_var_t
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