Trait AXDataAxisDescriptor

Source
pub unsafe trait AXDataAxisDescriptor: NSCopying {
    // Provided methods
    unsafe fn title(&self) -> Retained<NSString>
       where Self: Sized + Message { ... }
    unsafe fn setTitle(&self, title: &NSString)
       where Self: Sized + Message { ... }
    unsafe fn attributedTitle(&self) -> Retained<NSAttributedString>
       where Self: Sized + Message { ... }
    unsafe fn setAttributedTitle(&self, attributed_title: &NSAttributedString)
       where Self: Sized + Message { ... }
}
Available on crate feature AXAudiograph only.
Expand description

Describes a data axis for the chart (e.g. X, Y, etc.) Each AXChart requires at least two AXDataAxis objects to describe, at minimum, and X and a Y axis.

See also Apple’s documentation

Provided Methods§

Source

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

The name or title of this axis.

Source

unsafe fn setTitle(&self, title: &NSString)
where Self: Sized + Message,

Setter for title.

Source

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

An attributed version of the title of this axis. When set, this will be used instead of title.

Source

unsafe fn setAttributedTitle(&self, attributed_title: &NSAttributedString)
where Self: Sized + Message,

Setter for attributedTitle.

Trait Implementations§

Source§

impl ProtocolType for dyn AXDataAxisDescriptor

Source§

const NAME: &'static str = "AXDataAxisDescriptor"

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 AXDataAxisDescriptor

Implementations on Foreign Types§

Source§

impl<T> AXDataAxisDescriptor for ProtocolObject<T>

Implementors§