#[non_exhaustive]pub enum EdgeLayout<XY: Tick> {
Legend(Legend),
RotatedLabel(RotatedLabel),
TickLabels(TickLabels<XY>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Legend(Legend)
Legend. See legend for details.
RotatedLabel(RotatedLabel)
Rotated label. See rotated_label for details.
TickLabels(TickLabels<XY>)
Tick labels. See tick_labels for details.
Trait Implementations§
Source§impl<XY: Clone + Tick> Clone for EdgeLayout<XY>
impl<XY: Clone + Tick> Clone for EdgeLayout<XY>
Source§fn clone(&self) -> EdgeLayout<XY>
fn clone(&self) -> EdgeLayout<XY>
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<XY: Tick> From<RotatedLabel> for EdgeLayout<XY>
impl<XY: Tick> From<RotatedLabel> for EdgeLayout<XY>
Source§fn from(inner: RotatedLabel) -> Self
fn from(inner: RotatedLabel) -> Self
Converts to this type from the input type.
Source§impl<XY: Tick> From<TickLabels<XY>> for EdgeLayout<XY>
impl<XY: Tick> From<TickLabels<XY>> for EdgeLayout<XY>
Source§fn from(inner: TickLabels<XY>) -> Self
fn from(inner: TickLabels<XY>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<XY> Freeze for EdgeLayout<XY>
impl<XY> RefUnwindSafe for EdgeLayout<XY>
impl<XY> Send for EdgeLayout<XY>
impl<XY> Sync for EdgeLayout<XY>
impl<XY> Unpin for EdgeLayout<XY>
impl<XY> UnsafeUnpin for EdgeLayout<XY>
impl<XY> UnwindSafe for EdgeLayout<XY>
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<El, T, Marker> IntoElementMaybeSignal<T, Marker> for Elwhere
El: IntoElementMaybeSignalType<T, Marker>,
impl<El, T, Marker> IntoElementMaybeSignal<T, Marker> for Elwhere
El: IntoElementMaybeSignalType<T, Marker>,
fn into_element_maybe_signal(self) -> ElementMaybeSignal<T>
Source§impl<T, Js> IntoElementMaybeSignalType<T, Element> for Js
impl<T, Js> IntoElementMaybeSignalType<T, Element> for Js
fn into_element_maybe_signal_type(self) -> ElementMaybeSignalType<T>
Source§impl<El, T, Marker> IntoElementsMaybeSignal<T, Marker> for Elwhere
El: IntoElementsMaybeSignalType<T, Marker>,
impl<El, T, Marker> IntoElementsMaybeSignal<T, Marker> for Elwhere
El: IntoElementsMaybeSignalType<T, Marker>,
fn into_elements_maybe_signal(self) -> ElementsMaybeSignal<T>
Source§impl<T, Js> IntoElementsMaybeSignalType<T, Element> for Js
impl<T, Js> IntoElementsMaybeSignalType<T, Element> for Js
fn into_elements_maybe_signal_type(self) -> ElementsMaybeSignalType<T>
Source§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.