pub struct Encoding {
pub channel: Channel,
pub field_type: FieldType,
pub field: FieldAccessor,
pub title: Option<String>,
}Expand description
An encoding maps a data field to a visual channel.
Fields§
§channel: ChannelVisual channel.
field_type: FieldTypeField type.
field: FieldAccessorData accessor (column index or field name).
title: Option<String>Optional title for this encoding (used in legends/axis labels).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnsafeUnpin for Encoding
impl UnwindSafe for Encoding
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