pub struct Wheel {
pub name: Option<Name>,
pub slots: Vec<WheelSlot>,
}Expand description
Defines all physical or virtual wheels of the device.
Corresponds to a <Wheel> XML node.
Fields§
§name: Option<Name>The unique name of the wheel.
Corresponds to the Name XML attribute.
slots: Vec<WheelSlot>A list of all slots on the wheel.
Corresponds to all <Slot> XML child nodes.
Implementations§
Source§impl Wheel
impl Wheel
Sourcepub fn validate(
&self,
parent_fixture_type: &FixtureType,
resource_map: &mut ResourceMap,
result: &mut ValidationResult,
)
pub fn validate( &self, parent_fixture_type: &FixtureType, resource_map: &mut ResourceMap, result: &mut ValidationResult, )
Performs validation checks on the object.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Wheel
impl<'de> Deserialize<'de> for Wheel
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 Wheel
Auto Trait Implementations§
impl Freeze for Wheel
impl RefUnwindSafe for Wheel
impl Send for Wheel
impl Sync for Wheel
impl Unpin for Wheel
impl UnsafeUnpin for Wheel
impl UnwindSafe for Wheel
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