pub struct BeamSet {
pub name: Option<String>,
pub identifier: Option<String>,
pub refs: Vec<u32>,
}Expand description
A named group of beams.
Beam sets allow organizing beams and applying properties to groups.
Fields§
§name: Option<String>Human-readable name for this beam set (optional).
identifier: Option<String>Machine-readable identifier (optional).
refs: Vec<u32>Indices of beams in this set (references into the beams array).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BeamSet
impl<'de> Deserialize<'de> for BeamSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BeamSet
Auto Trait Implementations§
impl Freeze for BeamSet
impl RefUnwindSafe for BeamSet
impl Send for BeamSet
impl Sync for BeamSet
impl Unpin for BeamSet
impl UnwindSafe for BeamSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more