pub struct NbestPath {
pub node_ids: Vec<u32>,
pub total_cost: i32,
pub rank: usize,
}Expand description
N-best 경로 하나를 표현
Fields§
§node_ids: Vec<u32>경로의 노드 ID 목록 (BOS, EOS 제외)
total_cost: i32총 비용
rank: usize경로 순위 (0-based)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NbestPath
impl RefUnwindSafe for NbestPath
impl Send for NbestPath
impl Sync for NbestPath
impl Unpin for NbestPath
impl UnsafeUnpin for NbestPath
impl UnwindSafe for NbestPath
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> 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