pub struct StyleExpressionInfo {
pub is_feature_constant: bool,
pub is_zoom_constant: bool,
}Expand description
What a style expression’s result depends on.
See mln_style_expression_info in the
C API reference.
Fields§
§is_feature_constant: boolTrue when the result doesn’t depend on the feature or its state.
is_zoom_constant: boolTrue when the result doesn’t depend on the zoom level.
Trait Implementations§
Source§impl Clone for StyleExpressionInfo
impl Clone for StyleExpressionInfo
Source§fn clone(&self) -> StyleExpressionInfo
fn clone(&self) -> StyleExpressionInfo
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 StyleExpressionInfo
Source§impl Debug for StyleExpressionInfo
impl Debug for StyleExpressionInfo
Source§impl Default for StyleExpressionInfo
impl Default for StyleExpressionInfo
Source§fn default() -> StyleExpressionInfo
fn default() -> StyleExpressionInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for StyleExpressionInfo
impl PartialEq for StyleExpressionInfo
impl StructuralPartialEq for StyleExpressionInfo
Auto Trait Implementations§
impl Freeze for StyleExpressionInfo
impl RefUnwindSafe for StyleExpressionInfo
impl Send for StyleExpressionInfo
impl Sync for StyleExpressionInfo
impl Unpin for StyleExpressionInfo
impl UnsafeUnpin for StyleExpressionInfo
impl UnwindSafe for StyleExpressionInfo
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