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) -> Retained<NSAttributedString>
where Self: Sized + Message { ... }
unsafe fn layoutOptions(&self) -> NSUInteger
where Self: Sized + Message { ... }
}
Available on crate feature
NSGlyphGenerator
only.Expand description
Provided Methods§
unsafe fn insertGlyphs_length_forStartingGlyphAtIndex_characterIndex( &self, glyphs: NonNull<NSGlyph>, length: NSUInteger, glyph_index: NSUInteger, char_index: NSUInteger, )
Available on crate feature
NSFont
only.unsafe fn setIntAttribute_value_forGlyphAtIndex( &self, attribute_tag: NSInteger, val: NSInteger, glyph_index: NSUInteger, )
unsafe fn attributedString(&self) -> Retained<NSAttributedString>
unsafe fn layoutOptions(&self) -> NSUInteger
Trait Implementations§
Source§impl ProtocolType for dyn NSGlyphStorage
impl ProtocolType for dyn NSGlyphStorage
impl<T> ImplementedBy<T> for dyn NSGlyphStorage
Implementations on Foreign Types§
impl<T> NSGlyphStorage for ProtocolObject<T>where
T: ?Sized + NSGlyphStorage,
Implementors§
impl NSGlyphStorage for NSLayoutManager
Available on crate feature
NSLayoutManager
only.