pub struct Text { /* private fields */ }
Implementations§
Source§impl Text
impl Text
pub fn get_alignment_stream(&self) -> Result<Stream<TextAlignment>, RpcError>
pub fn get_alignment(&self) -> Result<TextAlignment, RpcError>
Source§impl Text
impl Text
pub fn get_anchor_stream(&self) -> Result<Stream<TextAnchor>, RpcError>
pub fn get_anchor(&self) -> Result<TextAnchor, RpcError>
Source§impl Text
impl Text
pub fn get_reference_frame_stream( &self, ) -> Result<Stream<ReferenceFrame>, RpcError>
pub fn get_reference_frame(&self) -> Result<ReferenceFrame, RpcError>
Source§impl Text
impl Text
pub fn set_alignment_stream( &self, value: TextAlignment, ) -> Result<Stream<()>, RpcError>
pub fn set_alignment(&self, value: TextAlignment) -> Result<(), RpcError>
Source§impl Text
impl Text
pub fn set_anchor_stream( &self, value: TextAnchor, ) -> Result<Stream<()>, RpcError>
pub fn set_anchor(&self, value: TextAnchor) -> Result<(), RpcError>
Source§impl Text
impl Text
pub fn set_reference_frame_stream( &self, value: &ReferenceFrame, ) -> Result<Stream<()>, RpcError>
pub fn set_reference_frame( &self, value: &ReferenceFrame, ) -> 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