pub struct Variable { /* private fields */ }
Implementations§
Source§impl Variable
impl Variable
pub fn new<T: PropertyValue + ToPaxValue>( untyped_property: UntypedProperty, ) -> Self
pub fn new_from_typed_property<T: PropertyValue + ToPaxValue>( property: Property<T>, ) -> Self
pub fn get_untyped_property(&self) -> &UntypedProperty
pub fn get_as_pax_value(&self) -> PaxValue
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Variable
impl !RefUnwindSafe for Variable
impl !Send for Variable
impl !Sync for Variable
impl Unpin for Variable
impl !UnwindSafe for Variable
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.