pub struct ChartLayout { /* private fields */ }
Implementations§
§impl ChartLayout
impl ChartLayout
pub fn new() -> Self
pub fn get_padding(&mut self) -> &mut Option<Padding>
pub fn padding(self, value: impl Into<Padding>) -> ChartLayout
Trait Implementations§
source§impl Clone for ChartLayout
impl Clone for ChartLayout
source§fn clone(&self) -> ChartLayout
fn clone(&self) -> ChartLayout
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 ChartLayout
impl Debug for ChartLayout
source§impl Default for ChartLayout
impl Default for ChartLayout
source§fn default() -> ChartLayout
fn default() -> ChartLayout
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChartLayout
impl<'de> Deserialize<'de> for ChartLayout
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 Ord for ChartLayout
impl Ord for ChartLayout
source§fn cmp(&self, other: &ChartLayout) -> Ordering
fn cmp(&self, other: &ChartLayout) -> Ordering
1.21.0 · 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
source§impl PartialEq for ChartLayout
impl PartialEq for ChartLayout
source§impl PartialOrd for ChartLayout
impl PartialOrd for ChartLayout
source§impl Serialize for ChartLayout
impl Serialize for ChartLayout
impl Eq for ChartLayout
impl StructuralPartialEq for ChartLayout
Auto Trait Implementations§
impl Freeze for ChartLayout
impl RefUnwindSafe for ChartLayout
impl Send for ChartLayout
impl Sync for ChartLayout
impl Unpin for ChartLayout
impl UnwindSafe for ChartLayout
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)