Struct neko::dynamic::library::state::tooltip::Tooltip
[−]
[src]
#[repr(C)]pub struct Tooltip { /* fields omitted */ }
Methods
impl Tooltip
[src]
fn get_height(&self) -> usize
Return the height of the message, assuming all \n
fn get_width(&self) -> usize
Return the width of the message, assuming the characters between all \n
fn get_cardinal(&self) -> &Relative
fn get_message(&self) -> &[Character; 1024]
fn set_message(&mut self, message: String)
fn set_cardinal(&mut self, cardinal: Relative)
Trait Implementations
impl Copy for Tooltip
[src]
impl Index<usize> for Tooltip
[src]
type Output = Character
The returned type after indexing
fn index(&self, count: usize) -> &Character
The method for the indexing (container[index]
) operation
impl Index<RangeTo<usize>> for Tooltip
[src]
type Output = [Character]
The returned type after indexing
fn index(&self, range: RangeTo<usize>) -> &[Character]
The method for the indexing (container[index]
) operation
impl PartialEq for Tooltip
[src]
fn eq(&self, other: &Tooltip) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Display for Tooltip
[src]
impl Debug for Tooltip
[src]
impl Clone for Tooltip
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more