pub struct Area { /* private fields */ }Implementations§
Trait Implementations§
Source§impl RawArea for Area
impl RawArea for Area
Source§fn push(
&self,
_: UiPass,
specs: PushSpecs,
on_files: bool,
cache: PrintInfo,
) -> Option<(Area, Option<Area>)>
fn push( &self, _: UiPass, specs: PushSpecs, on_files: bool, cache: PrintInfo, ) -> Option<(Area, Option<Area>)>
Creates an
RawArea around this one Read moreSource§fn spawn(
&self,
_: UiPass,
spawn_id: SpawnId,
specs: DynSpawnSpecs,
cache: Self::Cache,
) -> Option<Self>
fn spawn( &self, _: UiPass, spawn_id: SpawnId, specs: DynSpawnSpecs, cache: Self::Cache, ) -> Option<Self>
Spawns a floating area on this
RawArea Read moreSource§fn set_height(&self, _: UiPass, height: f32) -> Result<(), Text>
fn set_height(&self, _: UiPass, height: f32) -> Result<(), Text>
Sets a height for the
RawAreaSource§fn scroll_around_points(
&self,
_: UiPass,
text: &Text,
points: TwoPoints,
opts: PrintOpts,
)
fn scroll_around_points( &self, _: UiPass, text: &Text, points: TwoPoints, opts: PrintOpts, )
Source§fn set_as_active(&self, _: UiPass)
fn set_as_active(&self, _: UiPass)
Source§fn get_print_info(&self, _: UiPass) -> Self::PrintInfo
fn get_print_info(&self, _: UiPass) -> Self::PrintInfo
The current printing information of the area
Source§fn set_print_info(&self, _: UiPass, info: Self::PrintInfo)
fn set_print_info(&self, _: UiPass, info: Self::PrintInfo)
Sets a previously acquired
PrintInfo to the areaSource§fn get_printed_lines(
&self,
pa: UiPass,
text: &Text,
opts: PrintOpts,
) -> Option<Vec<PrintedLine>>
fn get_printed_lines( &self, pa: UiPass, text: &Text, opts: PrintOpts, ) -> Option<Vec<PrintedLine>>
Source§fn move_ver(
&self,
_: UiPass,
by: i32,
text: &Text,
point: Point,
desired_col: Option<usize>,
opts: PrintOpts,
) -> VPoint
fn move_ver( &self, _: UiPass, by: i32, text: &Text, point: Point, desired_col: Option<usize>, opts: PrintOpts, ) -> VPoint
Source§fn move_ver_wrapped(
&self,
_: UiPass,
by: i32,
text: &Text,
point: Point,
desired_col: Option<usize>,
opts: PrintOpts,
) -> VPoint
fn move_ver_wrapped( &self, _: UiPass, by: i32, text: &Text, point: Point, desired_col: Option<usize>, opts: PrintOpts, ) -> VPoint
Source§fn is_master_of(&self, _: UiPass, other: &Self) -> bool
fn is_master_of(&self, _: UiPass, other: &Self) -> bool
Source§fn get_cluster_master(&self, _: UiPass) -> Option<Self>
fn get_cluster_master(&self, _: UiPass) -> Option<Self>
Source§fn coord_at_points(
&self,
_: UiPass,
text: &Text,
points: TwoPoints,
opts: PrintOpts,
) -> Option<Coord>
fn coord_at_points( &self, _: UiPass, text: &Text, points: TwoPoints, opts: PrintOpts, ) -> Option<Coord>
Source§fn points_at_coord(
&self,
_: UiPass,
text: &Text,
coord: Coord,
opts: PrintOpts,
) -> Option<TwoPointsPlace>
fn points_at_coord( &self, _: UiPass, text: &Text, coord: Coord, opts: PrintOpts, ) -> Option<TwoPointsPlace>
Source§fn start_points(&self, _: UiPass, text: &Text, opts: PrintOpts) -> TwoPoints
fn start_points(&self, _: UiPass, text: &Text, opts: PrintOpts) -> TwoPoints
The start points that should be printed
Auto Trait Implementations§
impl Freeze for Area
impl !RefUnwindSafe for Area
impl !Send for Area
impl !Sync for Area
impl Unpin for Area
impl UnsafeUnpin for Area
impl !UnwindSafe for Area
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