pub struct TextBoxSnapshotBuilder { /* private fields */ }
Implementations§
Source§impl TextBoxSnapshotBuilder
impl TextBoxSnapshotBuilder
pub fn layout_index( self, layout_index: impl Into<i64>, ) -> TextBoxSnapshotBuilder
pub fn layout_indexs<I, S>(self, layout_indexs: I) -> TextBoxSnapshotBuilder
pub fn bound(self, bound: impl Into<Rectangle>) -> TextBoxSnapshotBuilder
pub fn bounds<I, S>(self, bounds: I) -> TextBoxSnapshotBuilder
pub fn start(self, start: impl Into<i64>) -> TextBoxSnapshotBuilder
pub fn starts<I, S>(self, starts: I) -> TextBoxSnapshotBuilder
pub fn length(self, length: impl Into<i64>) -> TextBoxSnapshotBuilder
pub fn lengths<I, S>(self, lengths: I) -> TextBoxSnapshotBuilder
pub fn build(self) -> Result<TextBoxSnapshot, String>
Trait Implementations§
Source§impl Clone for TextBoxSnapshotBuilder
impl Clone for TextBoxSnapshotBuilder
Source§fn clone(&self) -> TextBoxSnapshotBuilder
fn clone(&self) -> TextBoxSnapshotBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for TextBoxSnapshotBuilder
impl Default for TextBoxSnapshotBuilder
Source§fn default() -> TextBoxSnapshotBuilder
fn default() -> TextBoxSnapshotBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextBoxSnapshotBuilder
impl RefUnwindSafe for TextBoxSnapshotBuilder
impl Send for TextBoxSnapshotBuilder
impl Sync for TextBoxSnapshotBuilder
impl Unpin for TextBoxSnapshotBuilder
impl UnwindSafe for TextBoxSnapshotBuilder
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more