pub struct CoreLineFormatter { /* private fields */ }
Implementations§
source§impl CoreLineFormatter
impl CoreLineFormatter
pub fn from_raw(handle: NonNull<BNLineFormatter>) -> Self
sourcepub fn default_if_available() -> Option<Self>
pub fn default_if_available() -> Option<Self>
Get the default CoreLineFormatter
if available, because the user might have disabled it.
pub fn all() -> Array<CoreLineFormatter>
pub fn from_name(name: &str) -> Option<CoreLineFormatter>
pub fn name(&self) -> BnString
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoreLineFormatter
impl RefUnwindSafe for CoreLineFormatter
impl !Send for CoreLineFormatter
impl !Sync for CoreLineFormatter
impl Unpin for CoreLineFormatter
impl UnwindSafe for CoreLineFormatter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more