pub struct ResolveValuesReturns {
pub results: Vec<String>,
}Expand description
Resolve the specified values in the context of the provided element. For example, a value of ‘1em’ is evaluated according to the computed ‘font-size’ of the element and a value ‘calc(1px + 2px)’ will be resolved to ‘3px’. If the ‘propertyName’ was specified the ‘values’ are resolved as if they were property’s declaration. If a value cannot be parsed according to the provided property syntax, the value is parsed using combined syntax as if null ‘propertyName’ was provided. If the value cannot be resolved even then, return the provided value without any changes. Note: this function currently does not resolve CSS random() function, it returns unmodified random() function parts.’
Fields§
§results: Vec<String>Trait Implementations§
Source§impl Clone for ResolveValuesReturns
impl Clone for ResolveValuesReturns
Source§fn clone(&self) -> ResolveValuesReturns
fn clone(&self) -> ResolveValuesReturns
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 ResolveValuesReturns
impl Debug for ResolveValuesReturns
Source§impl Default for ResolveValuesReturns
impl Default for ResolveValuesReturns
Source§fn default() -> ResolveValuesReturns
fn default() -> ResolveValuesReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResolveValuesReturns
impl<'de> Deserialize<'de> for ResolveValuesReturns
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ResolveValuesReturns
impl RefUnwindSafe for ResolveValuesReturns
impl Send for ResolveValuesReturns
impl Sync for ResolveValuesReturns
impl Unpin for ResolveValuesReturns
impl UnsafeUnpin for ResolveValuesReturns
impl UnwindSafe for ResolveValuesReturns
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