pub struct ControllerInfo {
pub types: Vec<ControllerDescription>,
}Fields§
§types: Vec<ControllerDescription>Implementations§
Source§impl ControllerInfo
impl ControllerInfo
pub fn new(types: impl Into<Vec<ControllerDescription>>) -> Self
Trait Implementations§
Source§impl Clone for ControllerInfo
impl Clone for ControllerInfo
Source§fn clone(&self) -> ControllerInfo
fn clone(&self) -> ControllerInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ControllerInfo
impl Debug for ControllerInfo
Source§impl Default for ControllerInfo
impl Default for ControllerInfo
Source§fn default() -> ControllerInfo
fn default() -> ControllerInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for ControllerInfo
impl PartialEq for ControllerInfo
Source§fn eq(&self, other: &ControllerInfo) -> bool
fn eq(&self, other: &ControllerInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ControllerInfo
impl StructuralPartialEq for ControllerInfo
Auto Trait Implementations§
impl Freeze for ControllerInfo
impl RefUnwindSafe for ControllerInfo
impl Send for ControllerInfo
impl Sync for ControllerInfo
impl Unpin for ControllerInfo
impl UnsafeUnpin for ControllerInfo
impl UnwindSafe for ControllerInfo
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