pub struct Text { /* private fields */ }
Implementations§
Source§impl Text
impl Text
pub fn get_alignment_stream(&self) -> Result<Stream<TextAnchor>, RpcError>
pub fn get_alignment(&self) -> Result<TextAnchor, RpcError>
Source§impl Text
impl Text
pub fn get_rect_transform_stream( &self, ) -> Result<Stream<RectTransform>, RpcError>
pub fn get_rect_transform(&self) -> Result<RectTransform, RpcError>
Source§impl Text
impl Text
pub fn set_alignment_stream( &self, value: TextAnchor, ) -> Result<Stream<()>, RpcError>
pub fn set_alignment(&self, value: TextAnchor) -> Result<(), RpcError>
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
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