pub enum RootElement {
Room(Room),
}
Expand description
Possible Element
s allowed to act as a root of ControlApi
static
spec.
Variants§
Trait Implementations§
source§impl Clone for RootElement
impl Clone for RootElement
source§fn clone(&self) -> RootElement
fn clone(&self) -> RootElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RootElement
impl Debug for RootElement
source§impl PartialEq for RootElement
impl PartialEq for RootElement
source§fn eq(&self, other: &RootElement) -> bool
fn eq(&self, other: &RootElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RootElement
impl StructuralPartialEq for RootElement
Auto Trait Implementations§
impl RefUnwindSafe for RootElement
impl Send for RootElement
impl Sync for RootElement
impl Unpin for RootElement
impl UnwindSafe for RootElement
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