pub struct Legend { /* private fields */ }
Implementations§
Source§impl Legend
impl Legend
pub fn new_position(position: Position) -> Self
pub fn with_align(self, align: Alignment) -> Self
pub fn with_full_size(self, full_size: bool) -> Self
pub fn with_display(self, display: bool) -> Self
pub fn with_position(self, position: Position) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Legend
impl<'de> Deserialize<'de> for Legend
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
Auto Trait Implementations§
impl Freeze for Legend
impl RefUnwindSafe for Legend
impl Send for Legend
impl Sync for Legend
impl Unpin for Legend
impl UnwindSafe for Legend
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