[−][src]Struct rustfst::trs_iter_mut::TrsIterMut
Implementations
impl<'a, W: Semiring> TrsIterMut<'a, W>
[src]
pub fn get(&self, idx: usize) -> Option<&Tr<W>>
[src]
pub unsafe fn get_unchecked(&self, idx: usize) -> &Tr<W>
[src]
pub fn len(&self) -> usize
[src]
pub fn set_ilabel(&mut self, idx: usize, ilabel: Label) -> Result<()>
[src]
pub fn set_olabel(&mut self, idx: usize, olabel: Label) -> Result<()>
[src]
pub fn set_weight(&mut self, idx: usize, weight: W) -> Result<()>
[src]
pub fn set_nextstate(&mut self, idx: usize, nextstate: StateId) -> Result<()>
[src]
pub fn set_tr(&mut self, idx: usize, tr: Tr<W>) -> Result<()>
[src]
pub unsafe fn set_ilabel_unchecked(&mut self, idx: usize, ilabel: Label)
[src]
pub unsafe fn set_olabel_unchecked(&mut self, idx: usize, olabel: Label)
[src]
pub unsafe fn set_labels_unchecked(
&mut self,
idx: usize,
ilabel: Label,
olabel: Label
)
[src]
&mut self,
idx: usize,
ilabel: Label,
olabel: Label
)
pub unsafe fn set_weight_unchecked(&mut self, idx: usize, weight: W)
[src]
pub unsafe fn set_nextstate_unchecked(&mut self, idx: usize, nextstate: StateId)
[src]
pub unsafe fn set_tr_unchecked(&mut self, idx: usize, tr: Tr<W>)
[src]
Trait Implementations
impl<'a, W: Semiring> Index<usize> for TrsIterMut<'a, W>
[src]
Auto Trait Implementations
impl<'a, W> RefUnwindSafe for TrsIterMut<'a, W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
impl<'a, W> Send for TrsIterMut<'a, W> where
W: Send,
W: Send,
impl<'a, W> Sync for TrsIterMut<'a, W>
impl<'a, W> Unpin for TrsIterMut<'a, W>
impl<'a, W> !UnwindSafe for TrsIterMut<'a, W>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,