-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DisplayInfo の format を用いて devtoolsでの表示を指定する #58
base: main
Are you sure you want to change the base?
Conversation
@@ -117,7 +117,7 @@ pub struct FieldIter<'a> { | |||
} | |||
|
|||
impl<'a> Iterator for FieldIter<'a> { | |||
type Item = Result<(&'a str, FieldSchema)>; | |||
type Item = Result<(&'a str, &'a tlmdb::DisplayInfo, FieldSchema)>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [clippy] reported by reviewdog 🐶
cannot find type DisplayInfo
in module tlmdb
@@ -131,10 +131,11 @@ fn build_field_schema( | |||
obs: tlmdb::OnboardSoftwareInfo, | |||
field: &tlmdb::Field, | |||
bit_range: Range<usize>, | |||
) -> Result<(&str, FieldSchema)> { | |||
) -> Result<(&str, &tlmdb::DisplayInfo, FieldSchema)> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [clippy] reported by reviewdog 🐶
cannot find type DisplayInfo
in module tlmdb
let converter = build_integral_converter(&field.conversion_info); | ||
Ok(( | ||
&field.name, | ||
&field.display_info, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [clippy] reported by reviewdog 🐶
no field display_info
on type &tlmcmddb::tlm::Field
fdc6796
to
cb67b15
Compare
17bd1ed
to
84bbb2c
Compare
590607f
to
934f39d
Compare
ビルドこれでいいのか感はあるので @sksat に見てほしい |
#47 display info のうちformatに対応する
interpolatorの仕様上位置引数は使えなさそうなので、暗黙に
value
という変数として扱うdisplay info の format は
{value:#0X}
のようになる