freya_core::custom_attributes

Function static_bytes

Source
pub fn static_bytes(bytes: &'static [u8]) -> AttributeValue
Expand description

Transform some static bytes (e.g: statically linked images or SVGs) into an attribute