pub struct TabArray(/* private fields */);
Implementations§
Source§impl TabArray
impl TabArray
pub fn new(initial_size: i32, positions_in_pixels: bool) -> TabArray
pub fn get_positions_in_pixels(&mut self) -> bool
pub fn get_size(&mut self) -> i32
pub fn get_tab(&mut self, tab_index: i32) -> (TabAlign, i32)
pub fn resize(&mut self, new_size: i32)
pub fn set_tab(&mut self, tab_index: i32, alignment: TabAlign, location: i32)
Trait Implementations§
Source§impl Ord for TabArray
impl Ord for TabArray
Source§impl PartialOrd for TabArray
impl PartialOrd for TabArray
Source§impl StaticType for TabArray
impl StaticType for TabArray
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for TabArray
impl StructuralPartialEq for TabArray
Auto Trait Implementations§
impl Freeze for TabArray
impl RefUnwindSafe for TabArray
impl !Send for TabArray
impl !Sync for TabArray
impl Unpin for TabArray
impl UnwindSafe for TabArray
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