pub struct CanvasPanel { /* private fields */ }Expand description
A standard workbook panel placed on a canvas.
Implementations§
Source§impl CanvasPanel
impl CanvasPanel
Sourcepub fn new(rect: CanvasRect) -> Self
pub fn new(rect: CanvasRect) -> Self
Constructs a new instance of the type.
pub fn rect(&self) -> &CanvasRect
pub fn hide_legend(&self) -> Option<bool>
Trait Implementations§
Source§impl Clone for CanvasPanel
impl Clone for CanvasPanel
Source§fn clone(&self) -> CanvasPanel
fn clone(&self) -> CanvasPanel
Returns a duplicate 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 CanvasPanel
impl Debug for CanvasPanel
Source§impl<'de> Deserialize<'de> for CanvasPanel
impl<'de> Deserialize<'de> for CanvasPanel
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
Source§impl From<CanvasPanel> for Builder<Complete>
impl From<CanvasPanel> for Builder<Complete>
Source§fn from(v: CanvasPanel) -> Self
fn from(v: CanvasPanel) -> Self
Converts to this type from the input type.
Source§impl Hash for CanvasPanel
impl Hash for CanvasPanel
Source§impl Ord for CanvasPanel
impl Ord for CanvasPanel
Source§impl PartialEq for CanvasPanel
impl PartialEq for CanvasPanel
Source§impl PartialOrd for CanvasPanel
impl PartialOrd for CanvasPanel
Source§impl Serialize for CanvasPanel
impl Serialize for CanvasPanel
impl Eq for CanvasPanel
Auto Trait Implementations§
impl Freeze for CanvasPanel
impl RefUnwindSafe for CanvasPanel
impl Send for CanvasPanel
impl Sync for CanvasPanel
impl Unpin for CanvasPanel
impl UnsafeUnpin for CanvasPanel
impl UnwindSafe for CanvasPanel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request