pub trait DataBind<R: Resources> {
type Data;
// Required method
fn bind_to(
&self,
_: &mut RawDataSet<R>,
_: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>
);
}
Expand description
The “bind” logic portion of the PSO component. Defines how the user data translates into the raw data set.
Required Associated Types§
Required Methods§
sourcefn bind_to(
&self,
_: &mut RawDataSet<R>,
_: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>
)
fn bind_to( &self, _: &mut RawDataSet<R>, _: &Self::Data, _: &mut Manager<R>, _: &mut AccessInfo<R> )
Dump the given data into the raw data set.