Trait CIAttributedTextImageGenerator

Source
pub unsafe trait CIAttributedTextImageGenerator: CIFilterProtocol {
    // Provided methods
    unsafe fn text(&self) -> Retained<NSAttributedString>
       where Self: Sized + Message { ... }
    unsafe fn setText(&self, text: &NSAttributedString)
       where Self: Sized + Message { ... }
    unsafe fn scaleFactor(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setScaleFactor(&self, scale_factor: c_float)
       where Self: Sized + Message { ... }
    unsafe fn padding(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setPadding(&self, padding: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

Provided Methods§

Source

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

Source

unsafe fn setText(&self, text: &NSAttributedString)
where Self: Sized + Message,

Setter for text.

Source

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

Source

unsafe fn setScaleFactor(&self, scale_factor: c_float)
where Self: Sized + Message,

Setter for scaleFactor.

Source

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

Source

unsafe fn setPadding(&self, padding: c_float)
where Self: Sized + Message,

Setter for padding.

Trait Implementations§

Source§

impl ProtocolType for dyn CIAttributedTextImageGenerator

Source§

const NAME: &'static str = "CIAttributedTextImageGenerator"

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 CIAttributedTextImageGenerator

Implementations on Foreign Types§

Source§

impl<T> CIAttributedTextImageGenerator for ProtocolObject<T>

Implementors§