Docs.rs
  • stylo-0.5.0
    • stylo 0.5.0
    • Docs.rs crate page
    • MPL-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • github:servo:cargo-publish
    • nicoburns
    • mrobinson
    • Dependencies
      • app_units ^0.7.8 normal
      • arrayvec ^0.7 normal
      • atomic_refcell ^0.1 normal
      • bitflags ^2 normal
      • byteorder ^1.0 normal
      • cssparser ^0.35 normal
      • derive_more ^2 normal
      • stylo_dom ^0.5 normal
      • encoding_rs ^0.8 normal optional
      • euclid ^0.22 normal
      • fxhash ^0.2 normal
      • icu_segmenter ^1.5 normal
      • indexmap ^2 normal
      • itertools ^0.14 normal
      • itoa ^1.0 normal
      • lazy_static ^1 normal
      • log ^0.4 normal
      • stylo_malloc_size_of ^0.5 normal
      • malloc_size_of_derive ^0.1 normal
      • matches ^0.1 normal
      • mime ^0.3.13 normal optional
      • new_debug_unreachable ^1.0 normal
      • num-derive ^0.4 normal
      • num-integer ^0.1 normal
      • num-traits ^0.2 normal
      • num_cpus ^1.1.0 normal
      • parking_lot ^0.12 normal
      • precomputed-hash ^0.1.1 normal
      • rayon ^1 normal
      • rayon-core ^1 normal
      • selectors ^0.30.0 normal
      • serde ^1.0 normal optional
      • servo_arc ^0.4.0 normal
      • smallbitvec ^2.3.0 normal
      • smallvec ^1.0 normal
      • static_assertions ^1.1 normal
      • stylo_static_prefs ^0.5 normal
      • string_cache ^0.8 normal optional
      • stylo_config ^0.5 normal optional
      • stylo_derive ^0.5 normal
      • stylo_traits ^0.5 normal
      • stylo_atoms ^0.5 normal optional
      • thin-vec ^0.2.1 normal
      • to_shmem ^0.2 normal
      • to_shmem_derive ^0.1 normal
      • uluru ^3.0 normal
      • url ^2.5 normal optional
      • void ^1.0.2 normal
      • web_atoms ^0.1.3 normal optional
      • bindgen ^0.69 build optional
      • lazy_static ^1 build
      • log ^0.4 build
      • mozbuild ^0.1 build optional
      • regex ^1.0 build optional
      • toml ^0.5 build optional
      • walkdir ^2.1.4 build
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

style0.5.0

ShapeOutside

Aliased Type

Variants

  • Box
  • Image
  • None
  • Shape

In style::values::computed::basic_shape

style::values::computed::basic_shape

Type Alias ShapeOutside

Source
pub type ShapeOutside = GenericShapeOutside<BasicShape, Image>;
Expand description

A computed shape-outside value.

Aliased Type§

#[repr(u8)]
pub enum ShapeOutside { None, Image(GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>), Shape(Box<GenericBasicShape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, NonNegative<LengthPercentage>, GenericInsetRect<LengthPercentage, NonNegative<LengthPercentage>>>>, ShapeBox), Box(ShapeBox), }

Variants§

§

None

§

Image(GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>)

§

Shape(Box<GenericBasicShape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, NonNegative<LengthPercentage>, GenericInsetRect<LengthPercentage, NonNegative<LengthPercentage>>>>, ShapeBox)

§

Box(ShapeBox)