pub struct DoorsUpdate {
pub front: Option<DoorUpdate>,
pub rear: Option<DoorUpdate>,
}Expand description
Update struct corresponding to Doors
Fields§
§front: Option<DoorUpdate>§rear: Option<DoorUpdate>Implementations§
Source§impl DoorsUpdate
impl DoorsUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_front(self, v: DoorUpdate) -> Self
pub fn with_rear(self, v: DoorUpdate) -> Self
Trait Implementations§
Source§impl Debug for DoorsUpdate
impl Debug for DoorsUpdate
Source§impl Default for DoorsUpdate
impl Default for DoorsUpdate
Source§fn default() -> DoorsUpdate
fn default() -> DoorsUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DoorsUpdate
impl RefUnwindSafe for DoorsUpdate
impl Send for DoorsUpdate
impl Sync for DoorsUpdate
impl Unpin for DoorsUpdate
impl UnsafeUnpin for DoorsUpdate
impl UnwindSafe for DoorsUpdate
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