pub struct DataBinding {
pub data: DataSetId,
pub channel: String,
pub via: Option<DataVia>,
pub space: Option<DataSpace>,
pub offset: Option<[f32; 2]>,
pub remap: Option<DataRemap>,
}Expand description
A value that follows a channel of a data set at render time: the data value mode.
A source-anchored set is read through a reader (via) whose time map gives source time, so
the value follows the picture through any speed, reverse, loop or freeze.
Fields§
§data: DataSetIdThe data set, a points or scalars one.
channel: StringThe channel followed.
via: Option<DataVia>The reader whose time map gives source time: required for a source-anchored set, forbidden for a timeline-anchored one.
space: Option<DataSpace>Where a point is read (points with via only, where it is required).
offset: Option<[f32; 2]>[x, y] added after the space mapping, in that space’s normalized units (points only).
remap: Option<DataRemap>A linear map of the value (scalars only).
Trait Implementations§
Source§impl Clone for DataBinding
impl Clone for DataBinding
Source§impl Debug for DataBinding
impl Debug for DataBinding
Source§impl<'de> Deserialize<'de> for DataBinding
impl<'de> Deserialize<'de> for DataBinding
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
Source§impl PartialEq for DataBinding
impl PartialEq for DataBinding
Source§impl Serialize for DataBinding
impl Serialize for DataBinding
impl StructuralPartialEq for DataBinding
Auto Trait Implementations§
impl Forget for DataBinding
impl Freeze for DataBinding
impl Move for DataBinding
impl RefUnwindSafe for DataBinding
impl Send for DataBinding
impl Sync for DataBinding
impl Unpin for DataBinding
impl UnsafeUnpin for DataBinding
impl UnwindSafe for DataBinding
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