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 print_iter<'a>(
&self,
ca: UiPass,
text: &'a Text,
points: TwoPoints,
opts: PrintOpts,
) -> impl Iterator<Item = (Caret, Item)> + 'a
fn print_iter<'a>( &self, ca: UiPass, text: &'a Text, points: TwoPoints, opts: PrintOpts, ) -> impl Iterator<Item = (Caret, Item)> + 'a
Returns a printing iterator Read more
Source§fn rev_print_iter<'a>(
&self,
ca: UiPass,
text: &'a Text,
points: TwoPoints,
opts: PrintOpts,
) -> impl Iterator<Item = (Caret, Item)> + 'a
fn rev_print_iter<'a>( &self, ca: UiPass, text: &'a Text, points: TwoPoints, opts: PrintOpts, ) -> impl Iterator<Item = (Caret, Item)> + 'a
Returns a reversed printing iterator Read more
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 !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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.