decal 0.6.0

Declarative DSL for describing scenes and rendering them to SVG or PNG
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use enum_display::EnumDisplay;

/// The CORS mode used when loading external images.
#[derive(Debug, Hash, Eq, PartialEq, Copy, Clone, EnumDisplay)]
pub enum CrossOrigin {
    /// Requests the resource without credentials.
    #[display("anonymous")]
    Anonymous,
    /// Requests the resource with credentials included.
    #[display("use-credentials")]
    UseCredentials,
}