pub struct ExponentWithLinearTransform { /* private fields */ }Expand description
Exponent transform with an additional linear section around zero.
Implementations§
Source§impl ExponentWithLinearTransform
impl ExponentWithLinearTransform
Sourcepub fn negative_style(&self) -> NegativeStyle
pub fn negative_style(&self) -> NegativeStyle
Return the negative value handling style.
Sourcepub fn set_negative_style(&self, style: NegativeStyle) -> Result<()>
pub fn set_negative_style(&self, style: NegativeStyle) -> Result<()>
Set the negative value handling style.
Sourcepub fn direction(&self) -> TransformDirection
pub fn direction(&self) -> TransformDirection
Return the transform direction.
Sourcepub fn set_direction(&self, direction: TransformDirection)
pub fn set_direction(&self, direction: TransformDirection)
Set the transform direction.
Sourcepub fn try_set_direction(&self, direction: TransformDirection) -> Result<()>
pub fn try_set_direction(&self, direction: TransformDirection) -> Result<()>
Set the transform direction and surface any OCIO validation error.
Sourcepub fn create_editable_copy(&self) -> Result<Self>
pub fn create_editable_copy(&self) -> Result<Self>
Create an independent copy of this transform.
Sourcepub fn format_metadata(&self) -> Option<FormatMetadata>
pub fn format_metadata(&self) -> Option<FormatMetadata>
Return format metadata attached to the transform, when available.
pub fn format_metadata_v1(&self) -> Option<FormatMetadata>
👎Deprecated since 0.2.0:
compat alias; prefer format_metadata()
pub fn format_metadata_v2(&self) -> Option<FormatMetadata>
👎Deprecated since 0.2.0:
compat alias; prefer format_metadata()
Trait Implementations§
Source§impl Drop for ExponentWithLinearTransform
impl Drop for ExponentWithLinearTransform
Source§impl TransformHandle for ExponentWithLinearTransform
impl TransformHandle for ExponentWithLinearTransform
fn as_ptr(&self) -> *mut c_void
Source§fn diagnostic_text(&self) -> Result<String>
fn diagnostic_text(&self) -> Result<String>
Return OCIO’s diagnostic representation, which may include file paths.
This text is not a stable interchange format.
Source§fn try_type_tag(&self) -> Result<i32>
fn try_type_tag(&self) -> Result<i32>
Return the version-independent tag corresponding to
crate::TransformType.Source§fn try_set_direction(&mut self, direction: TransformDirection) -> Result<()>
fn try_set_direction(&mut self, direction: TransformDirection) -> Result<()>
Change the native evaluation direction without modifying the stored parameters.
Source§fn try_validate(&self) -> Result<()>
fn try_validate(&self) -> Result<()>
Validate the native transform without copying it or building a processor.
Source§fn try_create_editable_copy(&self) -> Result<Transform>
fn try_create_editable_copy(&self) -> Result<Transform>
Create a native editable copy, preserving the concrete transform type.
A copied group shares its children with the original. For an independent
built-in group graph, use
GroupTransform::create_deep_copy.Source§fn try_direction(&self) -> Result<TransformDirection>
fn try_direction(&self) -> Result<TransformDirection>
Query the native direction with validation, for any supported transform.
Auto Trait Implementations§
impl !Send for ExponentWithLinearTransform
impl !Sync for ExponentWithLinearTransform
impl Forget for ExponentWithLinearTransform
impl Freeze for ExponentWithLinearTransform
impl Move for ExponentWithLinearTransform
impl RefUnwindSafe for ExponentWithLinearTransform
impl Unpin for ExponentWithLinearTransform
impl UnsafeUnpin for ExponentWithLinearTransform
impl UnwindSafe for ExponentWithLinearTransform
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