pub struct AxLine {
pub xy1: (f64, f64),
pub xy2: (f64, f64),
pub opts: Vec<Opt>,
}
Expand description
A line passing through two points.
ax.axline({xy1}, {xy2}, **{opts})
Fields§
§xy1: (f64, f64)
First (x, y) point.
xy2: (f64, f64)
Second (x, y) point.
opts: Vec<Opt>
Optional keyword arguments.
Implementations§
Trait Implementations§
Source§impl Matplotlib for AxLine
impl Matplotlib for AxLine
Source§fn is_prelude(&self) -> bool
fn is_prelude(&self) -> bool
Return
true
if self
should be considered as a prelude item, which
are execute in the order seen but before any non-prelude items.Source§impl MatplotlibOpts for AxLine
impl MatplotlibOpts for AxLine
impl StructuralPartialEq for AxLine
Auto Trait Implementations§
impl Freeze for AxLine
impl RefUnwindSafe for AxLine
impl Send for AxLine
impl Sync for AxLine
impl Unpin for AxLine
impl UnwindSafe for AxLine
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