pub struct ViewRef {
pub plugin: String,
pub view: String,
pub key: String,
}Expand description
Names one live view: the plugin, its declared view id and an instance key.
Fields§
§plugin: String§view: StringThe declared view’s id.
key: String"": the only instance (pane, settings, status); a card’s own key.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewRef
impl<'de> Deserialize<'de> for ViewRef
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 Eq for ViewRef
Source§impl Ord for ViewRef
impl Ord for ViewRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ViewRef
impl PartialOrd for ViewRef
impl StructuralPartialEq for ViewRef
Auto Trait Implementations§
impl Forget for ViewRef
impl Freeze for ViewRef
impl Move for ViewRef
impl RefUnwindSafe for ViewRef
impl Send for ViewRef
impl Sync for ViewRef
impl Unpin for ViewRef
impl UnsafeUnpin for ViewRef
impl UnwindSafe for ViewRef
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