Struct ncurseswwin::RipoffLine
source · [−]pub struct RipoffLine { /* private fields */ }
Expand description
A ripoff line.
Implementations
sourceimpl RipoffLine
impl RipoffLine
sourcepub fn new(orientation: Orientation) -> Result<Self, NCurseswWinError>
pub fn new(orientation: Orientation) -> Result<Self, NCurseswWinError>
Create a new instance of a RipoffLine (NCurses allows for a maximum of 5 ripoff lines).
sourcepub fn new_sp(
screen: &Screen,
orientation: Orientation
) -> Result<Self, NCurseswWinError>
pub fn new_sp(
screen: &Screen,
orientation: Orientation
) -> Result<Self, NCurseswWinError>
Create a new instance of a RipoffLine for a Screen (NCurses allows for a maximum of 5 ripoff lines).
sourcepub fn orientation(&self) -> Orientation
pub fn orientation(&self) -> Orientation
Returns the orientation of the ripoff line.
Trait Implementations
sourceimpl AsRef<RipoffLine> for RipoffLine
impl AsRef<RipoffLine> for RipoffLine
sourceimpl Clone for RipoffLine
impl Clone for RipoffLine
sourceimpl Debug for RipoffLine
impl Debug for RipoffLine
sourceimpl Hash for RipoffLine
impl Hash for RipoffLine
sourceimpl PartialEq<RipoffLine> for RipoffLine
impl PartialEq<RipoffLine> for RipoffLine
impl Eq for RipoffLine
impl Send for RipoffLine
impl Sync for RipoffLine
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more