CIBarcodeGenerator

Trait CIBarcodeGenerator 

Source
pub unsafe trait CIBarcodeGenerator: CIFilterProtocol {
    // Provided methods
    unsafe fn barcodeDescriptor(&self) -> Retained<CIBarcodeDescriptor>
       where Self: Sized + Message { ... }
    unsafe fn setBarcodeDescriptor(
        &self,
        barcode_descriptor: &CIBarcodeDescriptor,
    )
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Barcode Generator filter.

Generate a barcode image from a CIBarcodeDescriptor.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn barcodeDescriptor(&self) -> Retained<CIBarcodeDescriptor>
where Self: Sized + Message,

Available on crate feature CIBarcodeDescriptor only.

The CIBarcodeDescription object to generate an image for.

Source

unsafe fn setBarcodeDescriptor(&self, barcode_descriptor: &CIBarcodeDescriptor)
where Self: Sized + Message,

Available on crate feature CIBarcodeDescriptor only.

Setter for barcodeDescriptor.

Trait Implementations§

Source§

impl ProtocolType for dyn CIBarcodeGenerator

Source§

const NAME: &'static str = "CIBarcodeGenerator"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn CIBarcodeGenerator

Implementations on Foreign Types§

Source§

impl<T> CIBarcodeGenerator for ProtocolObject<T>

Implementors§