#[repr(transparent)]pub struct SecTransformMetaAttributeType(pub CFIndex);
SecCustomTransform
only.Expand description
Within a transform, each of its attributes is a collection of “metadata attributes”, of which name and current value are two. The value is directly visible from outside; the other metadata attributes direct the behavior of the transform and its function within its group. Each attribute may be tailored by setting its metadata.
The actual value of the attribute. The attribute value has a default value of NULL.
The name of the attribute. Attribute name is read only and may not be used with the SecTransformSetAttributeBlock block.
A direct reference to an attribute’s value. This reference allows for direct access to an attribute without having to look up the attribute by name. If a transform commonly uses an attribute, using a reference speeds up the use of that attribute. Attribute references are not visible or valid from outside of the particular transform instance.
Specifies if an attribute must have a non NULL value set or have an incoming connection before the transform starts to execute. This metadata has a default value of true for the input attribute, but false for all other attributes.
Specifies if an attribute must have an outbound connection. This metadata has a default value of true for the output attribute but is false for all other attributes.
Determines if the AttributeSetNotification notification or the ProcessData blocks are deferred until SecExecuteTransform is called. This metadata value has a default value of true for the input attribute but is false for all other attributes.
Specifies if the attribute should expect a series of values ending with a NULL to specify the end of the data stream. This metadata has a default value of true for the input and output attributes, but is false for all other attributes.
A Transform group is a directed graph which is typically acyclic. Some transforms need to work with cycles. For example, a transform that emits a header and trailer around the data of another transform must create a cycle. If this metadata set to true, no error is returned if a cycle is detected for this attribute.
Specifies if this attribute should be written out when creating the external representation of this transform. This metadata has a default value of true.
This metadata value is true if the attribute has an outbound connection. This metadata is read only.
This metadata value is true if the attribute has an inbound connection. This metadata is read only.
See also Apple’s documentation
Tuple Fields§
§0: CFIndex
Implementations§
Source§impl SecTransformMetaAttributeType
impl SecTransformMetaAttributeType
pub const Value: Self
pub const Name: Self
pub const Ref: Self
pub const Required: Self
pub const RequiresOutboundConnection: Self
pub const Deferred: Self
pub const Stream: Self
pub const CanCycle: Self
pub const Externalize: Self
pub const HasOutboundConnections: Self
pub const HasInboundConnection: Self
Trait Implementations§
Source§impl Clone for SecTransformMetaAttributeType
impl Clone for SecTransformMetaAttributeType
Source§fn clone(&self) -> SecTransformMetaAttributeType
fn clone(&self) -> SecTransformMetaAttributeType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Encode for SecTransformMetaAttributeType
Available on crate feature objc2
only.
impl Encode for SecTransformMetaAttributeType
objc2
only.Source§impl Hash for SecTransformMetaAttributeType
impl Hash for SecTransformMetaAttributeType
Source§impl Ord for SecTransformMetaAttributeType
impl Ord for SecTransformMetaAttributeType
Source§fn cmp(&self, other: &SecTransformMetaAttributeType) -> Ordering
fn cmp(&self, other: &SecTransformMetaAttributeType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for SecTransformMetaAttributeType
impl PartialEq for SecTransformMetaAttributeType
Source§fn eq(&self, other: &SecTransformMetaAttributeType) -> bool
fn eq(&self, other: &SecTransformMetaAttributeType) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for SecTransformMetaAttributeType
impl PartialOrd for SecTransformMetaAttributeType
Source§impl RefEncode for SecTransformMetaAttributeType
Available on crate feature objc2
only.
impl RefEncode for SecTransformMetaAttributeType
objc2
only.