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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more