pub struct TransformSpec(/* private fields */);Expand description
A serialized transform specification passed to ModelInterface::transform.
Wraps the string representation expected by the transform registry.
Constructed from raw strings or typed config structs implementing TransformConfig.
Implementations§
Source§impl TransformSpec
impl TransformSpec
Sourcepub fn to_transform_string(&self) -> String
pub fn to_transform_string(&self) -> String
Produce the string the transform registry expects.
Trait Implementations§
Source§impl Clone for TransformSpec
impl Clone for TransformSpec
Source§fn clone(&self) -> TransformSpec
fn clone(&self) -> TransformSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransformSpec
impl Debug for TransformSpec
Source§impl From<&String> for TransformSpec
impl From<&String> for TransformSpec
Source§impl From<&str> for TransformSpec
impl From<&str> for TransformSpec
Source§impl From<ConcretizeSymbols> for TransformSpec
impl From<ConcretizeSymbols> for TransformSpec
Source§fn from(config: ConcretizeSymbols) -> Self
fn from(config: ConcretizeSymbols) -> Self
Converts to this type from the input type.
Source§impl From<FloatPrecision> for TransformSpec
impl From<FloatPrecision> for TransformSpec
Source§fn from(config: FloatPrecision) -> Self
fn from(config: FloatPrecision) -> Self
Converts to this type from the input type.
Source§impl From<Pulse> for TransformSpec
impl From<Pulse> for TransformSpec
Auto Trait Implementations§
impl Freeze for TransformSpec
impl RefUnwindSafe for TransformSpec
impl Send for TransformSpec
impl Sync for TransformSpec
impl Unpin for TransformSpec
impl UnsafeUnpin for TransformSpec
impl UnwindSafe for TransformSpec
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