pub struct MwndMessagePageState {Show 23 fields
pub msg_text: String,
pub glyphs: Vec<MwndGlyphState>,
pub disp_moji_cnt: i64,
pub hide_moji_cnt: i64,
pub cur_msg_type: i64,
pub cur_msg_type_decided: bool,
pub ruby_start_pos: (i64, i64),
pub ruby_start_ready: bool,
pub cursor_pos: (i64, i64),
pub moji_rep_pos: (i64, i64),
pub indent_pos: i64,
pub indent_moji: Option<char>,
pub indent_count: i64,
pub line_head: bool,
pub ruby_pending: Option<MwndRubyPendingState>,
pub moji_size: Option<i64>,
pub moji_color: Option<i64>,
pub shadow_color: Option<i64>,
pub fuchi_color: Option<i64>,
pub chara_moji_color: Option<i64>,
pub chara_shadow_color: Option<i64>,
pub chara_fuchi_color: Option<i64>,
pub msgbtn: Option<(i64, i64, i64, i64)>,
}Expand description
One completed C_elm_mwnd_msg entry retained by MULTI_MSG/NEXT_MSG. The active page remains in MwndState so existing form handlers can mutate it without an additional indirection; completed pages are immutable snapshots.
Fields§
§msg_text: String§glyphs: Vec<MwndGlyphState>§disp_moji_cnt: i64§hide_moji_cnt: i64§cur_msg_type: i64§cur_msg_type_decided: bool§ruby_start_pos: (i64, i64)§ruby_start_ready: bool§cursor_pos: (i64, i64)§moji_rep_pos: (i64, i64)§indent_pos: i64§indent_moji: Option<char>§indent_count: i64§line_head: bool§ruby_pending: Option<MwndRubyPendingState>§moji_size: Option<i64>§moji_color: Option<i64>§shadow_color: Option<i64>§fuchi_color: Option<i64>§chara_moji_color: Option<i64>§chara_shadow_color: Option<i64>§chara_fuchi_color: Option<i64>§msgbtn: Option<(i64, i64, i64, i64)>Trait Implementations§
Source§impl Clone for MwndMessagePageState
impl Clone for MwndMessagePageState
Source§fn clone(&self) -> MwndMessagePageState
fn clone(&self) -> MwndMessagePageState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MwndMessagePageState
impl Debug for MwndMessagePageState
Source§impl Default for MwndMessagePageState
impl Default for MwndMessagePageState
Source§fn default() -> MwndMessagePageState
fn default() -> MwndMessagePageState
Returns the “default value” for a type. Read more
impl Eq for MwndMessagePageState
Source§impl PartialEq for MwndMessagePageState
impl PartialEq for MwndMessagePageState
impl StructuralPartialEq for MwndMessagePageState
Auto Trait Implementations§
impl Freeze for MwndMessagePageState
impl RefUnwindSafe for MwndMessagePageState
impl Send for MwndMessagePageState
impl Sync for MwndMessagePageState
impl Unpin for MwndMessagePageState
impl UnsafeUnpin for MwndMessagePageState
impl UnwindSafe for MwndMessagePageState
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,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§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.§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.§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.§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.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more