pub struct Sunburst { /* private fields */ }
Implementations§
Source§impl Sunburst
impl Sunburst
pub fn new() -> Self
pub fn id<S: Into<String>>(self, id: S) -> Self
pub fn name<S: Into<String>>(self, name: S) -> Self
pub fn z_level(self, z_level: u64) -> Self
pub fn z(self, z: u64) -> Self
pub fn center<S: Into<String>>(self, center: (S, S)) -> Self
pub fn radius<S: Into<String>>(self, radius: (S, S)) -> Self
pub fn emphasis(self, emphasis: Emphasis) -> Self
pub fn sort(self, sort: Sort) -> Self
pub fn levels(self, levels: Vec<SunburstLevel>) -> Self
pub fn data(self, data: Vec<SunburstNode>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sunburst
impl RefUnwindSafe for Sunburst
impl Send for Sunburst
impl Sync for Sunburst
impl Unpin for Sunburst
impl UnwindSafe for Sunburst
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> 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 more