layout: Keep content purpose around

This allows to add proper CSS style classes based on that
This commit is contained in:
Guido Günther
2021-12-01 16:17:38 +01:00
parent 3513bf8de4
commit 4903f3d1a0
4 changed files with 21 additions and 5 deletions

View File

@ -233,7 +233,7 @@ bitflags!{
/// use rs::imservice::ContentPurpose;
/// assert_eq!(ContentPurpose::Alpha as u32, 1);
/// ```
#[derive(Debug, Clone)]
#[derive(Debug, Copy, Clone)]
pub enum ContentPurpose {
Normal = 0,
Alpha = 1,