CIAztecCodeGenerator

Trait CIAztecCodeGenerator 

Source
pub unsafe trait CIAztecCodeGenerator: CIFilterProtocol {
    // Provided methods
    unsafe fn message(&self) -> Retained<NSData>
       where Self: Sized + Message { ... }
    unsafe fn setMessage(&self, message: &NSData)
       where Self: Sized + Message { ... }
    unsafe fn correctionLevel(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setCorrectionLevel(&self, correction_level: c_float)
       where Self: Sized + Message { ... }
    unsafe fn layers(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setLayers(&self, layers: c_float)
       where Self: Sized + Message { ... }
    unsafe fn compactStyle(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setCompactStyle(&self, compact_style: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

Provided Methods§

Source

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

Source

unsafe fn setMessage(&self, message: &NSData)
where Self: Sized + Message,

Setter for message.

Source

unsafe fn correctionLevel(&self) -> c_float
where Self: Sized + Message,

Source

unsafe fn setCorrectionLevel(&self, correction_level: c_float)
where Self: Sized + Message,

Setter for correctionLevel.

Source

unsafe fn layers(&self) -> c_float
where Self: Sized + Message,

Source

unsafe fn setLayers(&self, layers: c_float)
where Self: Sized + Message,

Setter for layers.

Source

unsafe fn compactStyle(&self) -> c_float
where Self: Sized + Message,

Source

unsafe fn setCompactStyle(&self, compact_style: c_float)
where Self: Sized + Message,

Setter for compactStyle.

Trait Implementations§

Source§

impl ProtocolType for dyn CIAztecCodeGenerator

Source§

const NAME: &'static str = "CIAztecCodeGenerator"

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 CIAztecCodeGenerator

Implementations on Foreign Types§

Source§

impl<T> CIAztecCodeGenerator for ProtocolObject<T>

Implementors§