1
2
3
4
5
6
7
8
9
10
11
12
use bitflags::bitflags;

bitflags! {
  /// Permissions for fragments and fragment's bundles.
  struct FragmentPerms: u32 {
    const NONE = 0;
    const EDIT = 1;
    const COPY = 2;
    const TRANSFER = 4;
    const ALL = Self::EDIT.bits | Self::COPY.bits | Self::TRANSFER.bits;
  }
}