Trait sunspec_models::types::PointType
source · pub trait PointType<T> {
// Required methods
fn decode(data: Vec<u16>) -> T;
fn encode(data: T) -> Vec<u16>;
}pub trait PointType<T> {
// Required methods
fn decode(data: Vec<u16>) -> T;
fn encode(data: T) -> Vec<u16>;
}