Trait objc2_app_kit::NSGlyphStorage

source ·
pub unsafe trait NSGlyphStorage {
    // Provided methods
    unsafe fn insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(
        &self,
        glyphs: NonNull<NSGlyph>,
        length: NSUInteger,
        glyph_index: NSUInteger,
        char_index: NSUInteger
    )
       where Self: Sized + Message { ... }
    unsafe fn setIntAttribute_value_forGlyphAtIndex(
        &self,
        attribute_tag: NSInteger,
        val: NSInteger,
        glyph_index: NSUInteger
    )
       where Self: Sized + Message { ... }
    unsafe fn attributedString(&self) -> Id<NSAttributedString>
       where Self: Sized + Message { ... }
    unsafe fn layoutOptions(&self) -> NSUInteger
       where Self: Sized + Message { ... }
}
Available on crate feature NSGlyphGenerator only.

Provided Methods§

source

unsafe fn insertGlyphs_length_forStartingGlyphAtIndex_characterIndex( &self, glyphs: NonNull<NSGlyph>, length: NSUInteger, glyph_index: NSUInteger, char_index: NSUInteger )
where Self: Sized + Message,

Available on crate feature NSFont only.
source

unsafe fn setIntAttribute_value_forGlyphAtIndex( &self, attribute_tag: NSInteger, val: NSInteger, glyph_index: NSUInteger )
where Self: Sized + Message,

source

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

source

unsafe fn layoutOptions(&self) -> NSUInteger
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSGlyphStorage

source§

const NAME: &'static str = "NSGlyphStorage"

The name of the Objective-C protocol that this type represents.
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 NSGlyphStorage

Implementations on Foreign Types§

source§

impl<T> NSGlyphStorage for ProtocolObject<T>
where T: ?Sized + NSGlyphStorage,

Implementors§

source§

impl NSGlyphStorage for NSLayoutManager

Available on crate feature NSLayoutManager only.