pub struct StyleExpressionOptions {
pub expected_type: Option<StyleExpressionType>,
}Expand description
Options for parsing a style expression.
See mln_style_expression_options in the
C API reference.
Fields§
§expected_type: Option<StyleExpressionType>The type that the result must have.
Trait Implementations§
Source§impl Clone for StyleExpressionOptions
impl Clone for StyleExpressionOptions
Source§fn clone(&self) -> StyleExpressionOptions
fn clone(&self) -> StyleExpressionOptions
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 moreimpl Copy for StyleExpressionOptions
Source§impl Debug for StyleExpressionOptions
impl Debug for StyleExpressionOptions
Source§impl Default for StyleExpressionOptions
impl Default for StyleExpressionOptions
Source§fn default() -> StyleExpressionOptions
fn default() -> StyleExpressionOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for StyleExpressionOptions
impl PartialEq for StyleExpressionOptions
impl StructuralPartialEq for StyleExpressionOptions
Auto Trait Implementations§
impl Freeze for StyleExpressionOptions
impl RefUnwindSafe for StyleExpressionOptions
impl Send for StyleExpressionOptions
impl Sync for StyleExpressionOptions
impl Unpin for StyleExpressionOptions
impl UnsafeUnpin for StyleExpressionOptions
impl UnwindSafe for StyleExpressionOptions
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more