Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit78a4028

Browse files
committed
Add Display impl for Script
1 parent2543254 commit78a4028

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ impl From<char> for Script {
112112
}
113113
}
114114

115+
impl fmt::DisplayforScript{
116+
fnfmt(&self,f:&mut fmt::Formatter) -> fmt::Result{
117+
write!(f,"{}",self.full_name())
118+
}
119+
}
120+
115121
#[derive(Clone,Copy,PartialEq,Eq,Hash)]
116122
#[non_exhaustive]
117123
/// A value for the `Script_Extension` property

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp