Skip to main content

transform_environment_image_scale

Function transform_environment_image_scale 

Source
pub fn transform_environment_image_scale(
    view: &ViewHandle,
    action: impl Fn(ImageScale) -> ImageScale + 'static,
) -> ViewHandle
Expand description

Apply .transformEnvironment(_:_:) for \EnvironmentValues.imageScale.